I want to turn off line wrapping in either a Scrollview or Scrollrect. I’m not entirely sure which. I created the UI element using the editor and what I selected there was “Scrollview”. But when I look at the subcomponent of that GameObject. I see CanvasRenderer, Image,Scroll Rect. I am working with a text editor sort of program and when I display a line of text over 35/36 characters the last 7 characters get wrapped to the next line. Even though there’s room for about another 40 characters. So, I would either like to completely turn off wrapping (let the horizontal scrollbar be used by user to scoot over to right to see the rest of text if text gets to long to right to be seen) OR set that number of max characters seen to 80 instead of 36.
I managed to find how to do what I want. I had not drilled down enough into the substructure of the Scroll Rect. There’s a “Text (TMP)” object down in the substructure that has a wrapping toggle you can turn off.