Please check the screens bellow, it shows the NPC line with few words and then with a lot of words. when the words need two or more lines it pushes the name to the side and stretches that text. I have no idea why it does this and how to fix it. I really need some help here thanks the Ui is "Basic Standard Dialogue UI TMPro"
Anyone knows how to control this text pushing other text issue (see screens)
Re: Anyone knows how to control this text pushing other text issue (see screens)
Hi,
You can add a Layout Element component to the subtitle panel's Portrait Name GameObject if one doesn't already exist. Tick Min Width and set a width such as 200 pixels:
Then the portrait name will always be at least 200 pixels instead of getting squished.
You can add a Layout Element component to the subtitle panel's Portrait Name GameObject if one doesn't already exist. Tick Min Width and set a width such as 200 pixels:
Then the portrait name will always be at least 200 pixels instead of getting squished.
Re: Anyone knows how to control this text pushing other text issue (see screens)
Works perfectly thanks !!