0ad/binaries/data/mods/public/gui/reference/viewer/viewer.xml
elexis 702cdbf0c7 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.
2019-09-21 15:54:25 +00:00

42 lines
1.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<objects>
<script directory="gui/common/"/>
<script directory="gui/reference/common/"/>
<script directory="gui/reference/viewer/"/>
<!-- Add a translucent black background to fade out whatever's behind this -->
<object type="image" sprite="BackgroundTranslucent"/>
<object type="image" sprite="ModernDialog" size="50%-250 50%-300 50%+250 50%+300">
<object style="TitleText" type="text" size="50%-128 -18 50%+128 14">
<translatableAttribute id="caption">Information</translatableAttribute>
</object>
<object name="entityName" type="text" size="8 16 100%-8 48" text_align="center" text_valign="top" textcolor="white"/>
<object name="entityIcon" type="image"
size="16 48 128+16 128+48"
sprite="stretched:pregame/shell/logo/wfg_logo_white.png"
>
<object type="image" style="IconFrame"/>
<object type="image" style="RankGlyph" name="entityRankGlyph"/>
</object>
<object name="entityStats" type="text" style="ModernText" size="128+20 44 100%-8 50%" scrollbar="false"/>
<object name="entityInfo" type="text" style="ModernText" size="16 128+48+8 100%-16 100%-48"/>
<!-- Close page -->
<object
type="button"
style="StoneButton"
size="100%-164 100%-44 100%-16 100%-16"
hotkey="cancel"
>
<translatableAttribute id="caption">Close</translatableAttribute>
<action on="Press">Engine.PopGuiPage();</action>
</object>
</object>
</objects>