Author Topic: UIInput resetting dimensions of UILabel  (Read 5896 times)

pahe

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 1
  • Posts: 37
    • View Profile
UIInput resetting dimensions of UILabel
« on: October 19, 2013, 07:27:53 AM »
Hey.

I have currently the problem, that the UIInput resets the dimensions I set for my UILabel. I set the UILabel to "shrink content" and set the dimensions for the height to a low value. When I now click onto the UIInput, it resets the dimensions for the height to the standard height of the dynamic font, but only on the first time. After that it seems to work good.

I now hard set the dimensions back to the correct size, but that's more a dirty hack of the UIInput.

I'm using NGUI 3.0.2 currently, maybe it's fixed in 3.0.3 already?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIInput resetting dimensions of UILabel
« Reply #1 on: October 19, 2013, 08:44:02 PM »
I suggest trying it again with 3.0.3 when it's out since it was changed drastically.

pahe

  • Newbie
  • *
  • Thank You
  • -Given: 2
  • -Receive: 1
  • Posts: 37
    • View Profile
Re: UIInput resetting dimensions of UILabel
« Reply #2 on: October 20, 2013, 05:16:58 AM »
Ok, thanks for the quick answer.

As a second question, will the new UIInput support more different mobile keyboards? I had to write some additional lines to it to get the keyboard I wanted to have.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIInput resetting dimensions of UILabel
« Reply #3 on: October 20, 2013, 04:02:02 PM »
No, I haven't changed anything on the mobile side.