Make text resize based on length?

So I have a place where theres two textlabels, if one is short it looks weird because theres too much space on right and then the left is floating kinda, but if its too long it looks good (but kinda squished), any way to fix this?

Example:

(I would want the 3 hr. ago text to move to the left so its next to the name
CrosshairX_I0U8ViRIao

1 Like

If I understood correctly, you are trying to change the position of the text without resizing the textlabel. In this case, go to properties > scroll down > click TextYAlignment > choose left.

Easy fix:

  • Insert a UIListLayout in the frame.
  • Set it’s list type to horizontal.
  • Set the name labels AutomaticSizing to X axis.
  • Set the name labels size to 0 on the X axis.
  • View the result:
    image
    image
    image

Very much responsive.

2 Likes

Thats so smart I didnt think of making the size 0 so it pushes, thanks

Thanks… I guess… Seems like the no lifing developing on roblox is paying after all huh? In respect but mentally, no. (I am tired rn sorry.)

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