2010-01-15, 18:55
JMarshall and myself have added Auto Sizing labels as per r26770 which should allow a much needed feature.
Auto Size Labels
Wrapping your label in a grouplist with the auto width and appropriate minium and maximum values. Allows the labels width to dynamically change relevalant to how long the label text is. This allows a image or other control to be alligned to the right of the actual label text no matter how wide the label is.
<width min="29" max="200">auto</width>
See..
http://wiki.xbmc.org/?title=Label_Control
Auto Size Labels
Wrapping your label in a grouplist with the auto width and appropriate minium and maximum values. Allows the labels width to dynamically change relevalant to how long the label text is. This allows a image or other control to be alligned to the right of the actual label text no matter how wide the label is.
<width min="29" max="200">auto</width>
See..
http://wiki.xbmc.org/?title=Label_Control