Author Topic: Problem with HTC UIInput (no "Done" button)  (Read 8271 times)

Asse

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 70
    • View Profile
Problem with HTC UIInput (no "Done" button)
« on: July 07, 2014, 03:32:53 AM »
Hey,

we have a problem with a HTC device which doesn't have a "Done" button inside the native input field so the text isn't entered into UIInput. At the screenshot you'll see that there's no option to finish the input, only the "Back" key but that only cancels the input.

How do you guys handle this problem?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Problem with HTC UIInput (no "Done" button)
« Reply #1 on: July 07, 2014, 04:17:03 AM »
I see a return button on that keyboard. Press it?

Asse

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 70
    • View Profile
Re: Problem with HTC UIInput (no "Done" button)
« Reply #2 on: July 07, 2014, 04:18:37 AM »
Only enters a new line.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Problem with HTC UIInput (no "Done" button)
« Reply #3 on: July 07, 2014, 04:26:17 AM »
Then you will need to change the input to not be multi-line. There is really nothing else that can be done here. NGUI has no control over the device's on-screen keyboard.

Asse

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 70
    • View Profile
Re: Problem with HTC UIInput (no "Done" button)
« Reply #4 on: July 07, 2014, 04:31:33 AM »
You mean set UILabel to MaxLines = 1? Guess this won't help since he still only gets back by pressing the back key but ok, when I have time I'll have a look by myself.

HashbangGames

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 3
    • View Profile
Re: Problem with HTC UIInput (no "Done" button)
« Reply #5 on: July 08, 2014, 04:33:41 PM »
-Bump

Has this been resolved or did anyone have a workaround for it?  Did turning off the multiline work?  I am experiencing this exact same issue on the HTC One.

Asse

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 70
    • View Profile
Re: Problem with HTC UIInput (no "Done" button)
« Reply #6 on: July 17, 2014, 09:08:52 AM »
For me the problems has been solved by setting UILabel.maxLines to 1 since the UIInput codes says that if the label isn't multiline, enter leads to a submit and I only need one line.