Good Questions...

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
slinuxgeek Offline
Senior Member
Posts: 180
Joined: Feb 2012
Reputation: 0
Big Grin  Good Questions... Post: #1
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.
find quote
Hitcher Offline
Skilled Skinner
Posts: 9,917
Joined: Aug 2007
Reputation: 67
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.

[Image: sig_zps3af3b48e.jpg]
find quote