wrapmultiline in XMLDialog
#1
Hi,

i'm building an XML Dialog and got a label in a list which i want wrap lines. so i set the wrapmultiline param to true in the xml, but it doesn't work for me.
xml:

<control type="label">
                        <left>5</left>
                        <top>90</top>
                        <height>220</height>
                        <width>1720</width>
                        <aligny>top</aligny>
                        <align>left</align>
                        <autoscroll>false</autoscroll>
                        <wrapmultiline>true</wrapmultiline>
                        <textcolor>white</textcolor>
                        <label>$INFO[ListItem.Label2]</label>
                    </control>
Am i doing something wrong here?
This is my full xml file 
https://github.com/Takezo36/kodistuff/bl...mments.xml
Reply
#2
nope, you're not doing things wrong.
<wrapmultiline> simply isn't supported for labels inside a list.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
(2020-06-28, 19:40)ronie Wrote: nope, you're not doing things wrong.
<wrapmultiline> simply isn't supported for labels inside a list.
Thanks for the clarification.
Damn...
Is there a good alternative approach to get a multiline label in a list, aside from defining line length myself and adding \n's?
Aside for this, is autoscroll working inside of a list?
Reply
#4
perhaps a textbox might work for you?

<autoscroll> is not a valid tag for labels controls (either inside or outside a list),
you need to use <scroll> instead.
https://kodi.wiki/view/Label_control
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#5
(2020-06-28, 21:18)ronie Wrote: perhaps a textbox might work for you?

<autoscroll> is not a valid tag for labels controls (either inside or outside a list),
you need to use <scroll> instead.
https://kodi.wiki/view/Label_control
Yes it does! Thank you very much! 
I don't know why i haven't seen textbox...
Also thanks for pointing out the scroll vs autoscroll thing!
Reply

Logout Mark Read Team Forum Stats Members Help
wrapmultiline in XMLDialog0