How to prevent children of frame from autoscaling


as you can see here when I scale the size of the frame up and down its children adjust their size with it, is there a way to make it so they keep their size and position as the UI’s size adjusts/shrinks?

the UIAspectRatioConstraint Gui Object might be what you’re looking for. I think the text is just a property called “TextScaled” though. Maybe you want to set your UI to scale by pixels instead of scalars, so just use the “Offset” parameter for UDim2s

1 Like

no, because even with textscaled off it appears that the actual textlabel still resizes itself.

also with aspectratio it still scales up and down with the ui.

Seems like you’re going to want to use offset instead of scale. Offset is based off pixels, instead of a % of your screen. (Different scale types are used on the TextLabel, not the frame.)

1 Like

correct! but if i use offset, will the textlabel be the same size on all clients is the problem and question

1 Like

Depends how you use it honestly. If you’re going to use offset only on Y, then the X will remain size accordingly, however the Y will not. It’s pretty good for uniformity and predictability across platforms. I see you’re using it with a scrolling frame, so you can set the “holder,” in this case QZCard, to use Y offset, then use scale for the parts inside.

i see. ill check this out later today to see how that works out for me. also if I may ask on a side note, what do you normally do to scale your UI? because I noticed specifically with scrolling frames I have a lot of issues like it not being the right size on other clients if I don’t use scale, and where it cuts a bit of the UI off at the bottom of the scrolling frame etc etc.