AbsoluteSize in Y direction of TextLabel


I’m trying to make a custom chat system using a reverse ordered UIListLayout. So far it’s going really well and everything is working as expected, however there is a small design issue.


As you can see in this picture, the size of the chat element is about double the size of the actual text.

Is there any way to ensure that it fits around?
I have the AbsoluteSize property set to Y, TextWrapped is set to true - I can’t think of any other affecting factors.

Any help would be greatly appreciated :smiley:
(also any tips on UI design because I’m very new to it)

You could use TextService to retrieve the text bounds: TextService:GetTextSize