Kodi Community Forum
Animation Zoom effect - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Skinning (https://forum.kodi.tv/forumdisplay.php?fid=12)
+--- Thread: Animation Zoom effect (/showthread.php?tid=26315)



Animation Zoom effect - Nuka1195 - 2007-05-12

Could someone explain the end="#,#,#,#" setting for me?

It appears to be "x,y,w,h", but only "y,w,h" are working for me.

Code:
<animation effect="zoom" end="680,116,12,391" time="0" condition="Control.IsVisible(51)">Conditional</animation>

I want to move and size a scrollbar, If I add an additional animation effect slide, I can move it horizontally, but is that necessary?

Code:
<animation effect="slide" time="0" end="155,0" condition="Control.IsVisible(51)">Conditional</animation>

from:
Code:
<posx>525</posx>
<posy>116</posy>
<width>12</width>
<height>200</height>
to:
Code:
<posx>680</posx>
<posy>116</posy>
<width>12</width>
<height>391</height>



- CHI3f - 2007-05-12

<animation effect="zoom" end="680,116,12,391" time="0" condition="Control.IsVisible(51)">Conditional</animation>

That looks right to me.


- Nuka1195 - 2007-05-12

Thanks, so it is "x,y,w,h".

I Just tested, it works fine in the skinning engine, so it must be another WindowXML Bug.