Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Camille on August 06, 2014, 03:01:01 AM

Title: Underline tags in UILabel causing bugs with styling
Post by: Camille on August 06, 2014, 03:01:01 AM
Hi ArenMook

I have found a possible bug with UILabel.

To replicate please do the following:

1. Start with new project and import latest NGUI package.
2. Add a UILabel (position if necessary)
3. Paste the following text into the text field:

  1. [b][u]Increase Size of Cat[/u][/b]
  2.  
  3. [0070C0](For future cat access)[FFFFFF]
  4.  
  5. Remove cat from door.
  6.  
  7. Mark the existing cat access on the right of the door

4. Note how the text is not appearing as it should (in this example, the text is coloured in the wrong place as seen in attached image).
5. Remove the underline tags -- I suspect it is only the opening underline tag that causes this error however.
6. Note that the text is now displaying correctly.

If you could please have a look soon that would be appreciated.

Cheers
Title: Re: Underline tags in UILabel causing bugs with styling
Post by: ArenMook on August 07, 2014, 12:37:08 AM
That's very strange... I'll look into this, thank you.
Title: Re: Underline tags in UILabel causing bugs with styling
Post by: chrish on August 11, 2014, 01:00:56 AM
I am seeing the same bug in my project, is there any resolution to this yet?
Title: Re: Underline tags in UILabel causing bugs with styling
Post by: ArenMook on August 12, 2014, 12:08:36 AM
Already fixed in 3.6.9.