Fake autosizing buttons and <disabledcolor>
#1
Is there a way to show <disabledcolor> when using the fake autosizing button technique?
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
#2
If you tell us what the "fake autosizing button" technique looks like, we might be able to help.
Image
Reply
#3
Where you have a set of horizontal buttons hidden then use a grouplist of labels referencing those buttons so they can use the autosize feature of labels to keep the spacing the same between them...

.xml example

Line 630 is the group of buttons
Line 711 is the grouplist of labels
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
#4
You can e.g. use an animation for the labels and fade them if a button is disabled:

PHP Code:
<animation effect="fade" end="50" time="0" condition="!Control.IsEnabled(id)">Conditional</animation
Image
Reply
#5
Control.IsEnabled(id), THX...
Image

Check out The Carmichael - A Skin For XBMC

Check out Night - A Skin For XBMC

Check out Unfinished - A Skin For XBMC
Reply
#6
Or hide the button altogether with
Code:
Control.IsEnabled(id)
if it's not enabled and then the labels using
Code:
Control.IsVisible(id)
.
Reply

Logout Mark Read Team Forum Stats Members Help
Fake autosizing buttons and <disabledcolor>0