Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: mohydine on October 10, 2012, 12:25:28 PM

Title: Panel Clipping and UILabel
Post by: mohydine on October 10, 2012, 12:25:28 PM
Hello,

First, I love NGUI. I am trying to use it for a book reading application that has very high constraints on the quality. I have a few questions:
-Panel Clipping:
Since I had a panel that had too many vertices (81 000K), I created a panel as a children of the latter one, then added some widgets to it. That solved the problem of vertices, but then I lost the capability of doing clipping. Since I am using the ScrollList, this leads to some strange behaviors.
Any idea why the clipping does not work? Any workaround or fix?

-UILabels:
I am using french as language and I'd like to add a bullet point to text that has entered into the UILabel Inspector. I could not find a way to do that. Any idea?

Thanks in advance

Stephane
Title: Re: Panel Clipping and UILabel
Post by: ArenMook on October 11, 2012, 04:46:14 AM
Try using a paged approach instead. If you're reaching 81k vertices, that implies displaying 81k/6 characters, or roughly 13.5k. That's a lot. Also keep in mind that using a shadow effect doubles your vertex count. Outline -- times 5.
Title: Re: Panel Clipping and UILabel
Post by: ArenMook on October 11, 2012, 04:47:03 AM
NGUI text can't do bullet points. It's not meant as a rich text editor. :X

That said, you can do it yourself by adding a new symbol to the font -- a bullet point. You can add limited bbcode support that way -- from smiley faces to things like [ * ] to add a bullet character.