how would i automatically scale the X position of my text and image? i can’t really explain it properly but i want it so that the spacing is automatically positioned evenly like in the first picture.
i’ve tried the automaticsize property and even tried using uigridlayout for some reason and none of these methods really worked for me. was wondering if anyone could help me with this
what does your structure look like ?
it work fine for me by just doing it like that

or even like that

as long as the scale and position are in scale and you are using textscale
Set the TextXAlignment to ‘left’ and resize the text so that its left border is just next to the right border of your image.
it looks exactly like that, but thats not exactly what i’m tryna go for. i’m trying to make it so that its in the center. and when the textlabel’s text changes to a player’s name, the image will also reposition beside the text if you know what i mean…
something like this: sorry for being unclear and vague
not sure if that’'s exactly what i’m trying to going for
You need to use a UIListLayout in this case.
- Put the image and text under a frame with
BackgroundTransparency
to1
. - Add an
UIListLayout
into the frame with these properties:
- Set the following Text properties:
AutomaticSize
toX
,Size.X
to0
and keep theSize.Y
to the desired size.
worked like an absolute charm man thanks
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.