Page 1 of 1

Only one link shows

Posted: 04 Jan 2013, 12:18
by MuNgLo
Trying to have more then one Link in a text fails. i think it worked before BETA2 or might just be me that missed it.

This is how I've done it.
Within a GUI I make a label and fill it with text. Somehow only the first $L shows correctly.

Code: Select all

// Text area
		$textd = new Label();
		$this->setLineBgs(-118, 4.5, 236, 80);
		$this->setLineBgs(-116, 3.5, 232, 78);
		$textd->setSize(228, 80);
		$textd->setPosition(-114, 2.5, 0);
		$textd->enableAutonewline();
		$textd->setTextColor("fff");
		$textd->setTextSize(2);
		$textd->setHalign("left");
		$textd->setText($this->contentText);
		$this->content->addComponent($textd);

Re: Only one link shows

Posted: 04 Jan 2013, 18:48
by MuNgLo
Just a small update.

Right now the first link is skipped and the second is working. Third is still broken.
So still just one link works but now it isn't the first. :/

Oh and this with no change at all in code.

Re: Only one link shows

Posted: 19 Jan 2013, 19:50
by MuNgLo
After some more experience this is clearly a bug in Beta 2. Probably on client.

Re: Only one link shows

Posted: 10 Apr 2013, 19:51
by MuNgLo
Just to update.

This is a manialink code issue. If you use $L to make links inside a <label> They will all work until you mouseover one. Then all others get removed. So basically you cannot use more then one $L inside a single label.

But this has nothing to do with ManiaLive.

Re: Only one link shows

Posted: 10 Apr 2013, 19:54
by oliverde8
OOo, I had fogoth obout this, I came a cross this while trying to put 2 links in the server comment. It has been around for a while now, I had failed to put 2 links before Beta2 already.
I suppose it is the same cause :)

Re: Only one link shows

Posted: 10 Apr 2013, 21:22
by MuNgLo
yeah it might be taht the mouseovereffect that shows the link in right lower corner cant handle more then 1 link per label or whatever. Still I can't think its intentional. Haven't seen any official comment about it though.