UI with AutomaticSize not sizing correctly

I’ve got this notification.
image

This is the hierarchy
image

I have set the text of “Content” to not scaled, also the label uses AutomaticSize in the Y axis, and so does the parent object “NotificationTemplate”.

It would be logical to assume that if the textlabel gets bigger as it has more text, and the parent frame gets bigger depending on the size of its children, they’d maintain an indentical growth, but they don’t.

“Content” label growing over the line
image

If i add more, it grows over everything

image

I don’t know what else to try, does anybody have any tips?

Being Mean GIFs | Tenor

1 Like

Hi there @SharkRayMaster ! I’m new to the DevForum, and I have a solution for your problem.

This is my first reply, so I’m excited to help!

Before:
scr

After:
Screenshot 2025-03-05 004207

Solution:
You need to set the YContent-Your Text Label”'s AnchorPoint to 0 and make sure that Position on Y axis is set on Offset, not Scale.

Hope this helps! :smile:

1 Like

Welcome to the forum :wave:

I just tested it, makes absolutely no sense that it works like this, but it worked, thanks!

1 Like

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