How to make a frame size based on its contents

theres a script that sets the parent of the text labels

Hey everyone, thanks for the massive help

thanks to your help i found a solution

for anyone else attempting this this was the line that fixed it

	local y = (textlabel.Y) + (bigoverlay.Y)
       
	bigoverlay.Size = UDim2.new(bigoverlay.X , y)

keep in mind bigoverlay is the main frame

5 Likes

AutomaticSize was acting weird because of scales.


You might not like this though.
overlay.rbxm (9.6 KB)

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.