Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Grand_A on October 23, 2012, 02:00:05 AM

Title: UIInput multi-line problem
Post by: Grand_A on October 23, 2012, 02:00:05 AM
Hi Aren,

I realized there's some glitch on the multi-line feature of UIInput.
- We need to hold Ctrl while hitting Enter? Isn't that very unnatural for users to do so?
And how about the inputs in mobile device?
- When you press Ctrl+Enter, the text can go below the Label LineCount, thus making some visible words.
The user will get confused of where's the text, and cursor (Carat Char) just dissapear like that.

Also if not too troublesome, might have a request of when you click the mouse button, the cursor (Carat Char) can move to that position, not only on after the last letter you typed.

Thank you!  :)
Title: Re: UIInput multi-line problem
Post by: ArenMook on October 23, 2012, 03:24:39 AM
Input lines generally shouldn't have multiple lines to begin with. CTRL+Enter is how it's done everywhere where "enter" key submits the data.
Title: Re: UIInput multi-line problem
Post by: Grand_A on October 23, 2012, 04:56:35 AM
But how if I want to create a multi-line text area like Notepad or some sort using NGUI?
Title: Re: UIInput multi-line problem
Post by: ArenMook on October 23, 2012, 12:21:02 PM
Ideally, one line at a time, especially considering that you mention mobile devices. I can't imagine doing multi-line text editing on a mobile device with that pop-up keyboard.
Title: Re: UIInput multi-line problem
Post by: Grand_A on October 23, 2012, 11:05:03 PM
Well for PC version I'm thinking of similar to Notepad, but for mobile device I'm thinking of similar to Android's Memo, or Evernote like that. I'm hoping for more improvement on this in the later updates :D Thank you!
Title: Re: UIInput multi-line problem
Post by: petrucio on February 11, 2013, 03:01:04 PM
You can easilly add multi-line with Enter if you set the 'Submit Key 0' of your UICamera to None.