the editor always showed 99% of the empty fields (did not change that). i have started to add some code to prevent this on some elements, but this is no simple thing. some elements have to be there even if they are empty, some elements have different behavior between empty or not existing. so i started to look over all defs and templates and add this to the save routines.
an example the buttondef. if it has a "<TextAlignment></TextAlignment>" even with no alignment set, you get a top left alignment. so i have to check all this before turning off the saving of an empty element. also look at the ui.log sometimes empty or "none" elements = no error, but missing element = error.
for this special case, the label of an buttondef is already set to "don't save if empty". not sure i think i uploaded a wrong version earlier today. try redownloading it now.
i looked "behind" the screen a bit and found controls that are not currently used in the ui:
* ExpandableMenuDef
* ExpandableMenuTemplate
* StagedStatusBarDef
* FrameAnimDef
* RenderAreaDef
* IconGroupDef
* ControlAreaFullResizeImageTemplate
at least the ExpandableMenuDef should work, there are error messages for it and the ExpandableMenuTemplate. but i could not get the game to draw it now.
a full set of all elements and values the game uses (including the pregame ui = login /char select and so on) can be found here:
http://tool.excidio.net/download/ui.xml but please not not all values they use are also supported by the game to ^^ there are some funny errors in