Help with automatic sizing for a notification frame

I am currently creating a notification ui but I am unsure how I would size my frame based on the amount of text one of the child textlabels has. I have seen some stuff on the dev forum about using Absolute Size but its still confusing so if anybody could illiterate on that or on other ways this could be done, it would mean alot.

Thanks.

image

I think a simple property to understand and use for this situation is probably Automatic size. It’s really simple and I’m pretty sure it can help you with what you need.

I’ve started using Automatic Size but the issue with that is, I can’t seem to find out why the text does not scale it’s parent frame properly.

image

If I think I understand what you need, what I would do is use the UI Padding instance. You can just put it as the child of the frame with the automatic sizing property and edit the paddings to your liking.

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