Posts: 3,379
Joined: Feb 2009
Reputation:
15
mcborzu
Skilled Skinner
Posts: 3,379
Like I want the thumb to always be on the left side when movieinformation window active but how much to move the x/y coordinates change based on where you are at in a panel...
I thought something like so would work:
<animation effect="slide" start="0,0" end="0,80" time="300" condition="Window.IsActive(movieinformation) + [Container(52).Row(0) + Container(52).Column(1)]">Conditional</animation>
I swear I've had this working once before?
Check out Night - A Skin For XBMC
Posts: 2,441
Joined: Apr 2009
Reputation:
73
`Black
Team-Kodi Member
Posts: 2,441
2011-03-08, 03:08
(This post was last modified: 2011-03-08, 03:11 by `Black.)
Do you use a panel container? Row & column works there only. If yes, I don't see why it shouldn't work.
Posts: 3,379
Joined: Feb 2009
Reputation:
15
mcborzu
Skilled Skinner
Posts: 3,379
Yea, "panel" container...I swear I had it before in Night cause I remember doing all the code but I also used <camera> property and it was too much work...
Check out Night - A Skin For XBMC
Posts: 302
Joined: Jun 2009
Reputation:
3
2011-03-08, 07:18
(This post was last modified: 2011-03-08, 07:21 by eumel.)
Container.Position should work in a Panel Container, it starts at 0.
If i understand right.
ps: some animation's only work with "hidden" and set the visible tag to the right condition.
Posts: 17,664
Joined: Aug 2007
Reputation:
608
Hitcher
Team-Kodi Member
Posts: 17,664
Using Container(nn) doesn't work you have to use a string compare condition to know what viewtype is being used.
stringcompare(Container.ViewMode,POSTERS)