Posts: 142
Joined: Oct 2008
Reputation:
0
itombs
Senior Member
Posts: 142
Hi, I need a control for text that can represent a big text in various lines and, also, that can be sroll the text for down tu up if the size of the text is larger than its capacity.
The idea is define a label control with the tags wrapmultiline and scroll in True but, wrapmultiline seems to be incompatible with the scroll tags.
¿How do you define a control text capable of multiline and capable of scrolling automaticaly if the size of its text is larger that the its size?
Thanks a lot.
Posts: 142
Joined: Oct 2008
Reputation:
0
itombs
Senior Member
Posts: 142
Thanks by i need something more simple for use as a label.
There is not support in skin or xbmc api for this?
Posts: 96
Joined: Mar 2008
Reputation:
0
i want to do this as well, is there any way to do it with python?
Posts: 96
Joined: Mar 2008
Reputation:
0
2014-01-17, 17:54
(This post was last modified: 2014-01-17, 17:56 by adrianc1982.)
well thats not really what im looking for...
Im looking at a long string which i grab from a webpage via scrapping and i want to pass that to the label.
The label of course will not display it correctly without adding \n every few characters..
I have to do a very hacky code to calculate the pixels, the font size and then add new lines to make it look as wrapmultiline..
Posts: 1,126
Joined: Mar 2012
Reputation:
37
MassIV
Skilled Skinner
Posts: 1,126
Textbox works if you can load everything at once and you don't need to scroll individual sentences. If you need more control, cut the sentences up an put them in list items for a list control. Examples like lyrics addon or IrcChat.
[RELEASE] Metroid
[RELEASE] IrcChat