UI element Z-ordering

ArgentumStudios

Warlord
Joined
Sep 18, 2010
Messages
122
Location
Utah, US
I'm continuing to dig around in the SDK, but I am hoping that someone might know how to control the z-ordering of UI elements. I have a grid I am trying to display in the same manner as the CityList and UnitList used in the InfoCorner, but it is drawing over top of the InfoCorner instead of under it. I don't see anything special about CityList or UnitList in the xml and lua files, but I wouldn't be surprised if there is some special handling being done... I just hope not. :)
 
For future reference:

Through some experimentation it seems as though UI elements are ordered purely on when their LuaContext is created. I am hoping to discover some means of manipulating the ordering through the Lua API, which should then allow modification of existing game UI without actually requiring a mod to modify existing xml files defining those UI elements.
 
Back
Top Bottom