Good Questions...

  Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
slinuxgeek Offline
Senior Member
Posts: 219
Joined: Feb 2012
Reputation: 0
Big Grin  Good Questions...
Post: #1
Hello every one,
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.

I have a list control with some static contents :
<item id="1">
<item id="2">
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.
find quote
Hitcher Offline
Team-Kodi Member
Posts: 13,426
Joined: Aug 2007
Reputation: 210
Location: Eastleigh, UK
Post: #2
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.
find quote