tabbing size in text

Hello, I have a TMP text element that I am wanting to put information into. It is only one element but I am wanting it to take multiple pieces of text and have it look like 2 columns. The problem I am facing is some of the words the text element is given are longer than the others, so when I add some tabs in, the text does not line up under each other properly.

In the image below testing and test is meant to be one column, and then t and testing is meant to be the other. However I am wanting t from the second row to match where the word test on the first line starts.

If you think of something like a games control menu, it is meant to look something like that but with 2 columns. So is there a way to get the words to line up together.

You’re always gonna have a tough time lining up text with tabs.

I would just use a GridLayoutGroup, two columns.

Alternately you can make a HorizontalLayoutGroup with two VerticalLayoutGroups inside it.

Thanks, I have not used these before, so I will have a look into them. :slight_smile:

The TMP “pos” tag allows you to explicitly position your text at a particular horizontal position within a line.

@Antistone TIL… thanks!