I am having this issue. The only two atlases are the background of the dialog and the popup list (same atlas) and the atlas for the font.
Some of the text from the dialog is showing in front of the text entries of the PopupList. Adjusting the Z of the popup list doesn't seem to help.
Hi NaxIonz,
I had the same issue today. The thing is, that you need another panel which contains the popup list. The drop-down will be placed on this panel then as well:
Panel
- Widget A
- Widget B
- Popup List Panel
-- Popup List
--- Popup List Label
--- Popup List Sprite
- Widget C
- Widget D
The reason for this is, that the sprites are drawn in one draw call and the dynamic font is drawn in another one. The elements in one draw call always have the same z coordinate.
But when you have an open drop-down list, you want some of the texts drawn below the drop-down list background (the texts from the other widgets) and some above it (the texts from the items in the drop down list). So you will need four draw calls, first the two of the main panel and then the two for the popup list.
@ArenMook: Please correct me if I explained something wrong
Maybe a hint would be nice somewhere as it isn't obvious immediately.