Bug Scroll suffix doesn't support style tags
#1
In labels the <scrollsuffix> doesn't support style tags:-

Code:
<scrollsuffix>[B ] | [/B ]</scrollsuffix>
<scrollsuffix>[COLOR Accent] | [/COLOR]</scrollsuffix>

They just print out the style tags as a text string.
Reply
#2
Could you potentially fake it by using a hidden textbox (assuming this is a label) with the same label, dimensions and font to ascertain if the label is too long to be displayed? Then if it is include the suffix yourself? That's assuming you can have an empty scrollsuffix on your label

xml:

<control type="textbox" id="9000">
    <label>$INFO[Label]</label>
</control>

<variable name="Label">
    <value condition="Container(9000).HasNext">$INFO[Label,, [B ] | [/B ]</value>
    <value>$INFO[Label]</value>
</variable>

<control type="label>
    <label>$VAR[Label]</label>
    <scrollfuffix />
</control>
Reply
#3
Thanks, but the problems with that are you'd have to do it for every single label in your skin, and because it needs an ID I don't think it would work in a list layout, each layout would end up with the same ID.
Reply

Logout Mark Read Team Forum Stats Members Help
Scroll suffix doesn't support style tags0