Kodi Community Forum
<label2> focusedcolor - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: <label2> focusedcolor (/showthread.php?tid=102628)



<label2> focusedcolor - Jeroen - 2011-05-31

I have a button with the following color definitions

<textcolor>Color1</textcolor>
<focusedcolor>Color2</focusedcolor>

The infolabel is defined as:

<label>Foo</label>
<label2>[color=Color 3]Bar[/color]</label>

Now when the button is focused the button's label text is displayed using the intended color, but label2 keeps the color from the unfocused state.

I think it would make sense if label2 would also use the <focusedcolor>.

Or is it just me? Laugh


- Jezz_X - 2011-06-01

And it probably would if you didn't have [COLOR=Color 3] in it overriding the color