Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: Sorian on July 26, 2012, 05:55:36 PM

Title: Popup Listproblem
Post by: Sorian on July 26, 2012, 05:55:36 PM
I am currently having a strange issue with the Popup List. In the Unity editor, everything looks fine. But, when we create a standalone build the text in the dropdown box does not show up. The options still work like they are supposed to, however.

Can you give me somewhere to look for a cause?
Title: Re: Popup Listproblem
Post by: ArenMook on July 27, 2012, 05:54:11 AM
Let me guess, the font is not a part of the same atlas as the background? If so, check the FAQ.
Title: Re: Popup Listproblem
Post by: Sorian on July 27, 2012, 11:24:48 AM
Are you talking about the FAQ post in this forum?

I looked, but don't see anything that applies. I have tried altering the PopupList code to move the labels to a lower Z (closer to the camera), but that does not help.
Title: Re: Popup Listproblem
Post by: ArenMook on July 27, 2012, 03:04:32 PM
It explains how if you use more than one atlas, the draw order then depends on Z. It also links to a post that explains why you may have an issue adjusting Z if you structure your UI a certain way: http://www.tasharen.com/forum/index.php?topic=767.msg3955#msg3955

Short solution: put your font in the same atlas.
Title: Re: Popup Listproblem
Post by: Sorian on July 27, 2012, 03:13:43 PM
Yeah, I read that post and found a way to fix it. Thanks for your help once again.