Kodi Community Forum

Full Version: WRAPMULTILINE wont work?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Im using this code, but it continues to scroll and wont wrap. I've looked into using a textbox but if the label is one word and the one word is longer than the width of the label, its doesnt scroll, it cuts off letters.

Code:
<control type="label">
                        <description>header label</description>
                        <posx>125</posx>
                        <posy>120</posy>
                        <width>130</width>
                        <height>50</height>
                        <font>Simplicity_16</font>
                        <label>$INFO[ListItem.label]</label>
                        <wrapmultiline>true</wrapmultiline>
                        <align>center</align>
                        <textcolor>grey2</textcolor>
                        <shadowcolor>black</shadowcolor>
                    </control>
<never mind>
igotdvds Wrote:Im using this code, but it continues to scroll and wont wrap. I've looked into using a textbox but if the label is one word and the one word is longer than the width of the label, its doesnt scroll, it cuts off letters.

I think that's the expected behavior....
from the wiki -
Code:
Note that if a single word is larger than <width> then it will not be cut (put on to separate lines) and will still overflow.
But maybe I'm reading your question wrong....are you saying that it won't wrap lines at all?
Anyone have the answer for this. I have had this problem recently also.
I've found that wrapmultiline just doesn't work in lists; you'll have to switch to textbox.
Thanks Hitcher, you've just answered the question I was about to ask :-)

theDeadMan.