(SOLVED) Trying to make an automatically sized BillboardGui

I am trying to create a BillboardGui with a text box that scales depending on the text inside.

Firstly, the text cannot be centered. It doesn’t scale properly if either of the anchor point values are 0.5:

This centering problem isn’t that big of a deal, but it leads into the main problem, that being that I can’t add padding to the text. I can’t add padding to the frame the text is in, since the text isn’t centered, therefore the padding on the right side doesn’t do anything. If I add padding inside the TextLabel, it’s extremely jittery, with the text either being padded or not depending on the specific camera distance from the BillboardGui.

Anyways, here’s the explorer view of the BillboardGui:


The Frame and TextLabel’s AutomaticSize properties are set to X, and the frame is centered.

The fix I used was simply adding a UIStroke with the same color as the frame, in case anyone else stumbles upon this.

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