Texture alignment not working?
#1
This is driving me mad, no matter whether I use

Code:
<control type="image">
...
...
<align>center</align>
<texture>....blahblah....</texture>
</control>

or

Code:
<control type="image">
...
...
<texture align="center">...blahblah...</texture>
</control>

The image/texture is ALWAYS aligned to the left!!

Is there ANY way to align a texture to the center of a larger container?
Reply
#2
<align> is only for text. To align an image within it's control use

Code:
<aspectratio scalediffuse="false" align="left" aligny="top">keep</aspectratio>

For more information, look here. You cannot align the control itself within a group or something... you have to align it manually with <posx> and <posy>.
Image
Reply
#3
Ahhh so it's aligned in the aspectratio tag NOT the texture tag, that's where I'm going wrong lol

THANK YOU! Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Texture alignment not working?0