Aligning items in a horizontal Wrap List Container

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Tomriken Offline
Junior Member
Posts: 3
Joined: Sep 2009
Reputation: 0
Post: #1
Hi

I just started making my own skin for XBMC. I'm trying to learn by doing. But as it turns out, I need some professional help. That would be you guys. Smile

On my "home" screen I'm using a horizontal wrap list container for the menu. What I'm trying to do is having the focusedlayout on the left of the screen and the itemlayout next to the focusedlayout, covering the rest of the screen. What I'm having trouble with is spacing the items in the itemlayout evenly across the screen. How do I do that? Can it be done? I've seen other skins that has the same navigation idea, but they're using icons (images) that has the same width. I want to use text (labels) and I want the text to be localized.

Greetings from Norway.

EDIT: This thread should perhaps have been created in "Skin Development". Sorry.
(This post was last modified: 2009-09-13 21:45 by Tomriken.)
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,181
Joined: Oct 2003
Reputation: 176
Post: #2
The width of the itemlayout is constant across all items.

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: badge.gif]
find quote
Tomriken Offline
Junior Member
Posts: 3
Joined: Sep 2009
Reputation: 0
Post: #3
Thanks for your reply.

Just as I thought, then. That's a shame. It would make the horizontal layout more fluid and esthetically correct if the items had a width property of their own. I'm coming from a .NET environment so I guess I need to get used to handling a different approach when it comes to GUI. Smile
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 26,181
Joined: Oct 2003
Reputation: 176
Post: #4
Use a grouplist with buttons if you want them different.

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: badge.gif]
find quote
Tomriken Offline
Junior Member
Posts: 3
Joined: Sep 2009
Reputation: 0
Post: #5
Yeah, that should work. Thanks alot.
find quote