0ad/binaries/data/mods/mod/gui/msgbox/msgbox.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
924 B
XML

<?xml version="1.0" encoding="utf-8"?>
<objects>
<script directory="gui/common/"/>
<script directory="gui/msgbox/"/>
<!-- Fade out the background because it's non-interactable -->
<object sprite="ModernFade" type="image"/>
<object name="mbCancelHotkey" hotkey="cancel" />
<object name="mbMain"
style="ModernDialog"
type="image"
>
<object name="mbTitleBar"
style="ModernLabelText"
type="text"
size="50%-128 -18 50%+128 14"
/>
<object name="mbText"
type="text"
style="ModernLabelText"
size="18 18 100%-18 100%-64"
/>
<!-- The size of the following buttons is set dynamically in msgbox.js -->
<object name="mbButton1"
style="ModernButtonRed"
type="button"
hidden="true"
/>
<object name="mbButton2"
style="ModernButtonRed"
type="button"
hidden="true"
/>
<object name="mbButton3"
style="ModernButtonRed"
type="button"
hidden="true"
/>
</object>
</objects>