From 702cdbf0c726423482f58cd3ec7a7f2c19f17b55 Mon Sep 17 00:00:00 2001 From: elexis Date: Sat, 21 Sep 2019 15:54:25 +0000 Subject: [PATCH] Remove GUI object setting values z="0", size="0 0 100% 100%", hidden="false" in XML page specifications that are redundant with the default style values. Remove question by brian in single_details_area.xml from b66d1716e7 which is answered by "because the style set it". Delete BuildNameText style, because it specifies ghost="true" in both style and sole object using the style. Don't touch progressbar and structree styles, because there is more to clean. Differential Revision: https://code.wildfiregames.com/D2292 This was SVN commit r22957. --- binaries/data/mods/mod/gui/modio/modio.xml | 4 ++-- .../data/mods/mod/gui/modmod/help/help.xml | 2 +- binaries/data/mods/mod/gui/modmod/modmod.xml | 2 +- binaries/data/mods/mod/gui/msgbox/msgbox.xml | 2 +- .../mods/mod/gui/termsdialog/termsdialog.xml | 2 +- .../data/mods/public/gui/civinfo/civinfo.xml | 2 +- .../data/mods/public/gui/common/global.xml | 1 - .../data/mods/public/gui/credits/credits.xml | 2 +- .../mods/public/gui/gamesetup/gamesetup.xml | 6 +++--- .../data/mods/public/gui/loadgame/load.xml | 2 +- .../data/mods/public/gui/loading/loading.xml | 6 +++--- binaries/data/mods/public/gui/lobby/lobby.xml | 2 +- .../mods/public/gui/lobby/lobby_panels.xml | 21 +++++++++---------- .../data/mods/public/gui/locale/locale.xml | 2 +- .../gui/locale_advanced/locale_advanced.xml | 2 +- .../data/mods/public/gui/manual/manual.xml | 2 +- .../public/gui/prelobby/entrance/entrance.xml | 2 +- .../gui/reference/structree/structree.xml | 2 +- .../public/gui/reference/viewer/styles.xml | 1 - .../public/gui/reference/viewer/viewer.xml | 2 +- .../public/gui/replaymenu/replay_menu.xml | 10 ++++----- .../public/gui/session/diplomacy_window.xml | 6 +++--- .../data/mods/public/gui/session/menu.xml | 1 - .../public/gui/session/objectives_window.xml | 1 - .../selection_panels_left/formation_panel.xml | 2 +- .../selection_panels_left/garrison_panel.xml | 6 +++--- .../multiple_details_area.xml | 8 +++---- .../single_details_area.xml | 8 +++---- .../unit_ally_commands.xml | 4 ++-- .../selection_panels_middle/unit_commands.xml | 4 ++-- .../construction_panel.xml | 2 +- .../selection_panels_right/gate_panel.xml | 2 +- .../selection_panels_right/pack_panel.xml | 2 +- .../selection_panels_right/research_panel.xml | 2 +- .../selection_panels_right/training_panel.xml | 2 +- .../selection_panels_right/upgrade_panel.xml | 2 +- .../data/mods/public/gui/session/session.xml | 21 ++++++++----------- .../session_objects/selection_group_icons.xml | 2 +- .../data/mods/public/gui/session/styles.xml | 8 ------- .../session/top_panel/button_diplomacy.xml | 2 +- .../gui/session/top_panel/button_trade.xml | 2 +- .../public/gui/session/top_panel/civ_icon.xml | 2 +- .../public/gui/session/top_panel/label.xml | 11 +++++++++- .../public/gui/splashscreen/splashscreen.xml | 2 +- 44 files changed, 85 insertions(+), 94 deletions(-) diff --git a/binaries/data/mods/mod/gui/modio/modio.xml b/binaries/data/mods/mod/gui/modio/modio.xml index b2e5dd6320..4004f31586 100644 --- a/binaries/data/mods/mod/gui/modio/modio.xml +++ b/binaries/data/mods/mod/gui/modio/modio.xml @@ -5,7 +5,7 @@