Conditional visibility within SettingsCategory.xml
#1
I want to have a label in SettingsCategory.xml that only shows when a certain category (i.e. Subtitles, Player, Library) menu option is selected. I was hoping you could do this with a Container(3).Position(x) on the grouplist - but it doesn't seem to work.

Any advice?
Reply
#2
Try ControlGroup(foo).HasFocus(blah) perhaps?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#3
Doesn't seem to work. Do those hardcoded buttons even have ids?
Reply
#4
The buttons on the left start at 30. The controls on the right start at 50. You know the id's of the groups already. Pretty sure it should work the above.

Cheers,
Jonathan
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#5
That's the trick. Cheers, jm.
Reply
#6
Awesome - glad to know it works Smile
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Conditional visibility within SettingsCategory.xml1