Author Topic: Disable Word Wrapping  (Read 3968 times)

cosmicseizure

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Disable Word Wrapping
« on: January 27, 2017, 11:28:18 AM »
Hi,

 i need to remove any word wrapping on Labels, so that full length of line is always used. Doesnt matter if there will be just one letter at the end of the line for example. Is there any way to do that ?

Thanks
Luke

cosmicseizure

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 2
    • View Profile
Re: Disable Word Wrapping
« Reply #1 on: January 27, 2017, 12:02:11 PM »
I would also need to remove the logic for empty spaces to be removed. Basicly i need to be able to use "Resize Freely" Overflow type, but without removing spacing at the end of the lines and Word wrapping.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Disable Word Wrapping
« Reply #2 on: January 30, 2017, 07:12:02 AM »
NGUI doesn't remove any spaces, and if you set it to "resize freely", there won't be any kind of wrapping -- so I am not sure what you're asking here... Or do you mean wrapping in a sense where it carries the word over to a new line instead of splitting it? If so, that's done in NGUIText.WrapText.