2014-02-09, 11:18
Is it possible to set a conditional position, height / width of a control based on a skin setting?
I'd like to reposition a bunch of controls based on a skin setting and would rather not duplicate each control with it's adjusted settings, then set a visible condition.
Ideally I'm looking to do something like this;
<Control type="image">
<posx condition=Skin.HasSetting(setting)>300</posx>
<posx condition=!Skin.HasSetting(setting)>600</posx>
...
</Control>
Can something like that be achieved ?
I'd like to reposition a bunch of controls based on a skin setting and would rather not duplicate each control with it's adjusted settings, then set a visible condition.
Ideally I'm looking to do something like this;
<Control type="image">
<posx condition=Skin.HasSetting(setting)>300</posx>
<posx condition=!Skin.HasSetting(setting)>600</posx>
...
</Control>
Can something like that be achieved ?