Quantcast
Channel: Kodi Community Forum - Skinning
Viewing all articles
Browse latest Browse all 1803

ON/OFF Label for Radio Button

$
0
0
I've created a new radio button on my PVR sideblade to switch the EPG genre colours On/Off using the following:-

<control type="radiobutton" id="6062">
     <include>MediaMenuItemsCommon</include>
     <label>Genre Colours ON</label>
     <selected>!Skin.HasSetting(disable_PVRGenres)</selected>
     <onclick>Skin.ToggleSetting(disable_PVRGenres)</onclick>
     <visible>Window.IsActive(MyPVRGuide.xml)</visible>
</control>

The button itself works fine, but I'm trying to figure out what I need to do in order that when the genre colours are switched off, the label next to button then reads 'Genre Colours OFF'. I'm sure I've created a similar button showing both labels in the past , but rather annoyingly I just can't remember what I did.
Any guidance/feedback would much appreciated.
Cheers

Viewing all articles
Browse latest Browse all 1803

Trending Articles