Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: cosmicseizure on January 27, 2017, 11:28:18 AM

Title: Disable Word Wrapping
Post by: cosmicseizure 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
Title: Re: Disable Word Wrapping
Post by: cosmicseizure 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.
Title: Re: Disable Word Wrapping
Post by: ArenMook 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.