AutomaticSize does not work as intended

I’m trying to use AutomaticSize to size a button based on its contents label size. But it’s completely all off and unsure what’s wrong?


The label (as above) is being auto sized correctly

But seemingly gets worse and worse from here



Bug.rbxl (67.8 KB)

Expected behavior

The content should be scaled correctly

1 Like

This is just an acknowledgment announcement!

We’ve filed a ticket into our internal database for this issue, and will come back as soon as we have updates!

Thanks for flagging!

1 Like

Seeing a similar problem in an even simpler case of a TextButton not being sized correctly to match the text content:

image

Button in question has AutomaticSize = XY with a UIPadding child. Updating the text to be Generate Room and then back to Generate Rooms fixes the issue – seems to just be the initial render.

Hmm…
Could this perhaps be related to this issue?

Have you tried with having TextWrapped off?