Posts: 187
Joined: Jun 2010
Reputation:
5
gates
Senior Member
Posts: 187
hi,
My Goal is to make a right-top-corner home menu.
I would like user can activate (via setting) what item is diplay (ie weather / favs / setting ...)
I've found nothing on wiki/forum about align item (of a panel/list) on the right for horizontal list (i guess it's the same pb for align bottom with vertical list).
I've tried to make this with <right>0<right>, but when I specified <width>auto</width>, ths list wasn't diplayed (i could navigated on it, but nothing on the screen).
Posts: 17,416
Joined: Aug 2007
Reputation:
590
Hitcher
Team-Kodi Member
Posts: 17,416
If you're not using auto-filled (ie library) content then a grouplist will work.
Posts: 853
Joined: Mar 2010
Reputation:
16
Grouplist cannot be really aligned to the right.
the alignment only "align" it to the right side in the position perspective, but not effects the order, like it should too.
for example if you want to make a grouplist goes like:
5--4--3--2--1 (1 is the first item, 5 is the last one) you can't.
List Control neither. (for example, If you want to make an Horizontal Main-Menu, which first item is on the right, you can't.)
Posts: 15,263
Joined: Jan 2009
Reputation:
727
ronie
Team-Kodi Member
Posts: 15,263
* ronie thinks you guys are talking about two different things.
Posts: 187
Joined: Jun 2010
Reputation:
5
gates
Senior Member
Posts: 187
What I want is :
[--------- 1-2-3-4-5]
or
[----------5-4-3-2-1]
now, i can only get :
[1-2-3-4-5 ---------]
Posts: 17,416
Joined: Aug 2007
Reputation:
590
Hitcher
Team-Kodi Member
Posts: 17,416
But what are the items 1-5? Auto-filled or hard-coded items?
Posts: 853
Joined: Mar 2010
Reputation:
16
Nope, But You can use:
<textcolor>$VAR[my_color]</textcolor>
<variable name="my_color">
<value condition="!Container(300).HasFocus(1)>white</value>
<value>red</value>
</variable>
Posts: 187
Joined: Jun 2010
Reputation:
5
gates
Senior Member
Posts: 187
yep,
i already use this for other stuff,
but i guess a lot of variable can slow down the skin ? (or maybe not)