Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Imagelabel's size changes when its parented to another imagelabel but it dosen't on properties?

Asked by 4 years ago

So I had 2 image labels Below screen gui

I wanted to parent one below that imagelabel but when I did

its size how it looked changed but it didn't change for properties can anyone tell me why it appears smaller when its parented to somthing else

1 answer

Log in to vote
0
Answered by
memguy 161
4 years ago

When you use Scale to set a gui object's size it sets the size to a certain percent of the size of it's prarent. When you put that image label into another one, it's size changed because it now sets size depending on where it's parented. If you want them to have same size just set the size of the ones that has been parented to the label to UDim2.new(1, 0, 1, 0).

Ad

Answer this question