Author Topic: InputField does not keep tint with dynamic fonts.  (Read 3406 times)

pushxtonotdie

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 14
    • View Profile
InputField does not keep tint with dynamic fonts.
« on: June 13, 2013, 12:05:49 PM »
I'm seeing an issue where I have a tint on a dynamic font. The text is initially tinted, but when I start typing it turns white. It seems pretty reproducible.

NGUI 4.6.2 ( i think. how can i tell? )
Unity 4.1.3f3
Mac OS 10.8.3

Thanks for any help...
c

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: InputField does not keep tint with dynamic fonts.
« Reply #1 on: June 13, 2013, 05:17:12 PM »
Eh? Embedding colors like [99ff00] is not going to work with input fields. Setting the color on the input field will.

Keep in mind there are two settings. One is the label's color itself -- this is what it will look like when it's not selected. The second setting -- on the UIInput -- is the color of the label when you start typing.

pushxtonotdie

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 14
    • View Profile
Re: InputField does not keep tint with dynamic fonts.
« Reply #2 on: June 13, 2013, 05:32:08 PM »
Ah ha! I was not aware of 'active color' on UIInput. This was my issue. Nothing to see here....dum de dum...