Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: kruncher on December 05, 2013, 09:51:39 PM

Title: Color encoding labels with black text doesn't work
Post by: kruncher on December 05, 2013, 09:51:39 PM
I have a label with the widget colour set to black so that my text is black. When the widget and/or gradient colours are black, the red text also comes out black. When set to white the red text comes out red.

How can I have the initial colour set to black whilst still having tinted text?

  1. This is [FF0000]not red[-] when label text is black!
  2.  

Many thanks!
Title: Re: Color encoding labels with black text doesn't work
Post by: ArenMook on December 06, 2013, 04:04:02 AM
This was an intentional change a while back. If you want it to behave like it did before, leave the label's color as white, and instead use this text:
  1. [000000]This is [FF0000]not red[-] when label text is black!
Title: Re: Color encoding labels with black text doesn't work
Post by: Quel on March 08, 2014, 06:21:28 AM
Sincerely .. why?.

Begins to be a bit annoying if with every update we have to waste a few days fixing things that you decide to change for some strange reason. Please. It would be really appreciated if you try to maintain compatibility with the previous versions.

¿ It would be too hard use a boolean checker for this ? You know ... "Use absolute color [Yes/No]".

PS: Yes, this is a bit rage. But is all I can do right now.
Title: Re: Color encoding labels with black text doesn't work
Post by: ArenMook on March 08, 2014, 01:25:35 PM
The system was streamlined to make everything consistent. Gradient colors were added, which were blended with the tint color. It made sense to also make the embedded colors be blended with the tint color as well. The tint color is the "final tint color". Furthermore this is also how colors work in uGUI as well, which is another reason for consistency.