Kodi Community Forum

Full Version: Good Questions...
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello every one,
1.
can we have background color or background image/texture for a "label" control, If Yes then How can we do that? Its not on wiki.

2.
I have a list control with some static contents :
<content>
<item id="1">
<label>Songs</label>
<onclick>...</onclick>
</item>
<item id="2">
<label>Artist</label>
<onclick>...</onclick>
</item>
</content>
And I am displaying these choices on label through <itemlayout> & <focusedlayout> but instead of label I want to display them as buttons .
So the question is can we have "button" control inside <itemlayout> & <focusedlayout> for a list / list kind of
control ? advantage will be that we will be able to set image/texture for buttons background.

Thank You for Help.
1. Not one that will auto-size to the length of the label - you just have to display a texture underneath the label.

2. No, you have to 'fake' it by using your button textures in image controls with visible conditionals for when it's focused and when it's enabled.