2010-07-13, 16:12
I have an animation on a label to rotate it. The problem is when I change screen sizes (monitor, fullscreen, windowed, TV) the position of the label changes. Is there any way to fix this?
Hitcher Wrote:lol, I take it you've got it working then?
Hitcher Wrote:I assume it's using those co-ordinates from the top left of the screen. If you put the image inside a control area it should use that to centre.
<control type="group">
<posx>599</posx>
<posy>528</posy>
<control type="label">
<description>Title</description>
<posx>0</posx>
<posy>0</posy>
<width>600</width>
<height>55</height>
<font>font40caps_title</font>
<align>left</align>
<textcolor>yellow</textcolor>
<label>$INFO[ListItem.Title]</label>
<animation effect="rotate" end="14.5" time="0">WindowOpen</animation>
</control>
<control type="label">
<description>Title</description>
<posx>1</posx>
<posy>1</posy>
<width>600</width>
<height>55</height>
<font>font40caps_title</font>
<align>left</align>
<textcolor>red</textcolor>
<label>$INFO[ListItem.Title]</label>
<animation effect="rotate" end="14.5" time="0">WindowOpen</animation>
</control>
</control>