Relative positioning?

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Leeuw Offline
Senior Member
Posts: 274
Joined: Apr 2009
Reputation: 0
Post: #1
I am trying to work up mcmillyonaire's list view concept (see image below) and am stuck trying to make the HD flags work where they show up to the right of the item label.

[Image: plasmatvlistview.jpg]

Within a list control, is it possible to position the HD flag image to the right of the item label text? I tried creating a grouplist within the itemlayout, but a call to listitem.[anything] refers to the selected item rather than an unfocused list item.

I know this could be done by "faking" a list control and making a grouplist for each separate list item (and using listitem(-1).videoresolution, etc.), but that seems like a monumental pain in the arse. Is there any other way?
find quote
Jezz_X Offline
Team-XBMC Skinner
Posts: 5,263
Joined: Jun 2006
Reputation: 55
Location: Earth
Post: #2
currently nope no way
liek you said it could probably be done with a grouplist in the list with the new dynamic sizing label stuff but even then it would have issues with long labels pushing it off the view port

Skins I have done....
[Image: skinsq.png]
And others in the past...

Want to know what I'm working on currently? Check me out on Google+
find quote
Leeuw Offline
Senior Member
Posts: 274
Joined: Apr 2009
Reputation: 0
Post: #3
That's ashame - thanks for the reply
(This post was last modified: 2009-08-08 23:08 by Leeuw.)
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #4
The dynamic label stuff has a maximum width which can be used, but ofcourse that's still not optimal in the case of only a few flags for instance you may truncate the label too short.

Also, grouplists aren't available inside lists at this point.

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
Beatzeps08 Offline
Member
Posts: 75
Joined: Oct 2008
Reputation: 0
Post: #5
My English is not the best, but we need to have a way to implement something like the "Veranketes Objekt" in Indesign. There, you can add graphics in the text and they are handled as normal text-objects. In this way, you can add any graphics in the flow of the text...
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,523
Joined: Oct 2003
Reputation: 138
Post: #6
That's effectively what the auto-adjusting label width thing does - it allows you to butt other controls up to the end of a label control.

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
ChristianW Offline
Junior Member
Posts: 35
Joined: Jan 2008
Reputation: 0
Post: #7
This would probably be even more work, but how about editing the font and adding the (HD) icon as a symbol? Then just concatenate it on to the end of the text (if possible, i'm a noob)

-C-
find quote