Kodi Community Forum

Full Version: Texture alignment not working?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?
<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>.
Ahhh so it's aligned in the aspectratio tag NOT the texture tag, that's where I'm going wrong lol

THANK YOU! Smile