2014-06-29, 09:36
Hello, I'm stuck on this problem, I would like to create a condition on <top> but that does not seem to work. I do not see what should be done, it seems very simple yet, but the first line is taken into account, not the next!
Thx very much
EDIT :
I do that, it's a little barbaric, but it works! have you better?
PHP Code:
<control type="group">
<top condition="Skin.HasSetting(topframe.enable) + !Skin.HasSetting(downframe.enable)">350</top>
<top condition="Skin.HasSetting(downframe.enable) + !Skin.HasSetting(topframe.enable)">550</top>
<left>50</left>
Thx very much
EDIT :
I do that, it's a little barbaric, but it works! have you better?
PHP Code:
<control type="group">
<top>550</top>
<animation type="Conditional" condition="Skin.HasSetting(topframe.enable)" reversible="false">
<effect type="Slide" center="auto" start="0,0" end="0,-200" easing="Out" tween="Cubic"/>
</animation>