Posts: 17,409
Joined: Aug 2007
Reputation:
586
Hitcher
Team-Kodi Member
Posts: 17,409
Is this what you want?
Container(id).ListItem(offset).Icon
Posts: 1,388
Joined: Aug 2009
Reputation:
17
Hey Hitcher,
What would (offset) be? The panel position 2, 5, or 8? I've tried those (so Container(3020).ListItem(2).Icon) however no luck. No icon is displayed.
Cheers
Posts: 17,409
Joined: Aug 2007
Reputation:
586
Hitcher
Team-Kodi Member
Posts: 17,409
Strange, works for me although it's offset from the currently focused item so you'll need to base them on container position using <visible>Container(3020).Position(0)</visible>.
Take a look at XeeBo's Includes_Default_Home to see how I do it for the dummy row.
Posts: 1,388
Joined: Aug 2009
Reputation:
17
2012-04-25, 12:43
(This post was last modified: 2012-04-25, 12:44 by liquidskin76.)
moving on slightly...
Say i scroll to the end of my 3x3 panel and there is only 1 or 2 icons on the end (positions 6 and 7), so position 8 is empty. What visibility condition could i use to hide the copy icon i have for position 8?
Basically, i have a mirror image of the lower row of 3 icons (sitting below, flipped, with a diffuse). When you scroll to the last page of the panel, if position 8 is empty, i don't want the mirror image of position 8 appearing.
I've tried IsEmpty for things like icon or title however no luck, due to using the offset. I'm thinking something like a '!IsEmpty' combing 'Container(id).Position(8)' and 'Listitem.Title'.
Cheers
Posts: 17,409
Joined: Aug 2007
Reputation:
586
Hitcher
Team-Kodi Member
Posts: 17,409
An easier way to achieve that would be to simply use a mirror image control in the panel itself.
Make it visible only for the bottom row [Container(3020).Row(2)] and have it's position the same as the main image but use a slide animation so it appears below it.
Posts: 17,409
Joined: Aug 2007
Reputation:
586
Hitcher
Team-Kodi Member
Posts: 17,409
No problem, look forward to seeing it in action.