Req Allow label controls to have label2
#1
One of the great things about button controls is you can have 2 labels, one left aligned and one right aligned, and Kodi will manage their lengths so they don't overlap. I used fake buttons in Mimic's header to achieve this same effect. This doesn't work inside container layouts, however, as buttons are not allowed in containers. It would be awesome if it was possible to give label controls a label2 and the two labels were managed like they are for buttons.

Anyone out there with the skills and desire to make this happen? Smile
Reply
#2
doesn't it work if you use two label controls, one left aligned and one right aligned?
afaik kodi will make sure they don't overlap in that case.
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
So, if both labels occupy the same space, Kodi will manage their relative lengths? Will test, I didn't think this worked in the past.
Reply
#4
yeah, many skins use left/right aligned labels in list views.
kodi will crop the left label if it might overlap with the right one.

Image
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
Can't believe I had no idea about this after all this time, thanks Ronie! Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Allow label controls to have label20