Align image to the left
#1
I'm trying to get some rating images to "align left", if that's the correct term. They're images of different width ("★" is shorter than "★★"), and for some reason they don't all start from the same point.

Image
(To be clear, the grey star spaces is a different image).

xml:
<control type="image">
                        <top>60</top>
                        <left>800</left>
                        <align>left</align>
                        <width>250</width>
                        <height>25</height>
                        <aspectratio>keep</aspectratio>
                        <texture>$INFO[ListItem.UserRating,rating/,.png]</texture>
                    </control>

I've also tried <centerleft> to no avail. I know a fix would be to make all the images have the same width, but I was wondering what I'm doing wrong here still.

(Sorry to open many threads, but I've tried a lot on my own to fix these before coming here, and it's more organized to have them archived like this anyhow).
Reply
#2
As I told you in the other thread to align an image you need to use the aspect ratio control.

eg

code:
<aspectratio align="left">keep</aspectratio>
Reply
#3
Thanks much!
Reply

Logout Mark Read Team Forum Stats Members Help
Align image to the left0