Line by Line Information Panel Problem

Hi Everyone
I want to make a information panel which includes texts line by line. It is like

GAME NAME V1.0
DEVELOPED BY
SOME ONE
GAME MODES
SINGLE PLAYER: PRACTICE AGAINS COMPUTER
BLA BLA

I used vertical layout group and layout element in each text which has preferred height 45. The problem is that I support 7 different languages and each language text will be different length. SOme will be single line, some will be multiple lines. How can I arrange it so that no matter how long is it. If it is multiple line, below texts should go down. Now, it is not what I want.

Thanks so much…

Ok I have found the solution. Child force expand height check and flexiable height solves problem.

You are correct :smile:

You can also use a Content Size fitter on the parent object if you want it to dynamically resize to the child text component sizes as well :smile:

You shouldn’t need to add a layout element to a Text component as it’s one of the few that manage that effectively.