Posts: 1,509
Joined: Dec 2008
Reputation:
28
2012-03-13, 01:35
(This post was last modified: 2012-03-13, 01:36 by Sranshaft.)
We have auto-sizing width for labels which really comes in handy for a horizontal grouplist full of labels.
Is there any chance we could get the same thing for the label's height when dealing with labels in a vertical grouplist?
Posts: 5,292
Joined: Jun 2006
Reputation:
62
Jezz_X
Team-XBMC Skinner
Posts: 5,292
umm don't they all just use a standard font anyway ? what would be the point since the font it uses would never change height
Posts: 1,509
Joined: Dec 2008
Reputation:
28
2012-03-13, 06:08
(This post was last modified: 2012-03-13, 06:08 by Sranshaft.)
The point would be in the case where the label's <wrapmultiline> is set to true. When I said vertical grouplists in the OP I wasn't referring to the context menu or the like. I'm referring to user created grouplists such as a grouplist filled with the details of a movie for example.
Having an autosize for height would take into account labels that are wider than the grouplist and, if <wrapmultiline> is set to true, automatically adjust the height to accommodate the extra line. At the moment, those label would either end up having to scroll or the code would have to take into account a possible 2nd line leaving an extra space - both look ugly in my opinion.
Posts: 5,292
Joined: Jun 2006
Reputation:
62
Jezz_X
Team-XBMC Skinner
Posts: 5,292
right now I get you yeah that could be useful for multiline labels or textboxes
Posts: 1,509
Joined: Dec 2008
Reputation:
28
I noticed Boxee seems to have this in place so it may be as simple as C&P depending on far their code has diverged from XBMC's code.