Hi Guys,
basically I am "reworking" the standard dialogue UI, but text shows as one line without line break. Is there any possibility to change this?
Cheers
New Line in Standard Dialogue UI
Re: New Line in Standard Dialogue UI
Hi,
I don't understand. Can you share a screenshot of what it looks like, and mark how you would like it to look different?
I don't understand. Can you share a screenshot of what it looks like, and mark how you would like it to look different?
Re: New Line in Standard Dialogue UI
Hi, sorry, I try to better explain
Let's say I have an easy bark with the standard UI bark. I've changed some bits an it is looking like this - however, if I continue the line, it just goes longer and longer without a break - and I am sure I am just missing the obvious option somewhere
Let's say I have an easy bark with the standard UI bark. I've changed some bits an it is looking like this - however, if I continue the line, it just goes longer and longer without a break - and I am sure I am just missing the obvious option somewhere
- Attachments
-
- desk.JPG (17.26 KiB) Viewed 943 times
Re: New Line in Standard Dialogue UI
Do you want to manually insert line breaks? If so, you can put them in the text, such as:
Or do you want it to word wrap after a certain maximum width? If you want to restrict the bark to a maximum width, configure the outermost panel with a Content Size Fitter and Horizontal (or Vertical) Layout Group like this:
Notice that I set the max width of the outermost panel's Rect Transform to 600 pixels.
Configure the inner panel with a Layout Group like this:
Code: Select all
I really want to know what is so important...
Is it the meaning of life?
Notice that I set the max width of the outermost panel's Rect Transform to 600 pixels.
Configure the inner panel with a Layout Group like this: