In short, if I use an image of the same width and height as the container, it remains centered and in the same way, if I use an image that is larger in terms of width, it also stays centered and is not on the left.
i have to put X=-38 to center an image that is not in the same size
image with 150x225
image with a larger width
what should it be (GameImg with X=-38)
Code: Select all
[GameContainer]
Meter=Shape
Shape=Rectangle 0,0,150,225,8 | StrokeWidth 0
Group=Games
X=-5r
Y=-5r
[GameImg]
Meter=Image
ImageName=#ImageGame1#
ImageTint=none
Antialias=1
UpdateDivider=1
Group=Games
X=-38
Y=0
H=225
Container=GameContainer
[GameImgContainer]
Meter=Image
Antialias=1
UpdateDivider=1
Group=Games
X=0
Y=0
W=150
H=225
Container=GameContainer