Author Topic: Popup Listproblem  (Read 2920 times)

Sorian

  • Guest
Popup Listproblem
« 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?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Popup Listproblem
« Reply #1 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.

Sorian

  • Guest
Re: Popup Listproblem
« Reply #2 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.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Popup Listproblem
« Reply #3 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.

Sorian

  • Guest
Re: Popup Listproblem
« Reply #4 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.