2012-12-03, 19:17
Can't get this to work at all.
The variables are working (tested using a label), But not for images.
Anyone using variables for width & height? if so what am i doing wrong?
Thanks
Code:
<control type="image">
<posx>500</posx>
<posy>100</posy>
<width>$VAR[MyTest1]</width>
<height>$VAR[MyTest2]</height>
<texture>somejpg.jpg</texture>
</control>
The variables are working (tested using a label), But not for images.
Anyone using variables for width & height? if so what am i doing wrong?
Thanks