Fix icon size in the server configuration dialog

This commit is contained in:
Alayan 2018-12-07 02:50:05 +01:00
parent 76406db939
commit 3a307b4d9f

View File

@ -4,8 +4,8 @@
<header id="title" text_align="center" width="80%" align="center" I18N="In the server configuration screen" text="Server Configuration"/>
<box proportion="1" width="90%" layout="vertical-row" align="center">
<label width="100%" height="fit" text_align="left" I18N="In the server configuration screen" text="Difficulty"/>
<ribbon id="difficulty" height="15%" width="90%" align="center">
<label width="100%" height="8%" text_align="left" I18N="In the server configuration screen" text="Difficulty"/>
<ribbon id="difficulty" height="25%" width="90%" align="center">
<icon-button id="novice" width="128" height="128" icon="gui/icons/difficulty_easy.png"
I18N="Difficulty" text="Novice"/>
<icon-button id="intermediate" width="128" height="128" icon="gui/icons/difficulty_medium.png"
@ -15,8 +15,11 @@
<icon-button id="best" width="128" height="128" icon="gui/icons/difficulty_best.png"
I18N="Difficulty" text="SuperTux"/>
</ribbon>
<label width="100%" height="fit" text_align="left" I18N="In the server configuration screen" text="Game mode"/>
<ribbon id="gamemode" height="15%" width="90%" align="center">
<spacer height="1%" width="20"/>
<label width="100%" height="8%" text_align="left" I18N="In the server configuration screen" text="Game mode"/>
<ribbon id="gamemode" height="25%" width="90%" align="center">
<icon-button id="normal" width="128" height="128" icon="gui/icons/mode_normal.png"
I18N="Multiplayer game mode" text="Normal Race"/>
<icon-button id="timetrial" width="128" height="128" icon="gui/icons/mode_tt.png"
@ -27,18 +30,23 @@
I18N="Multiplayer game mode" text="Soccer"/>
</ribbon>
<spacer height="10" width="20"/>
<div width="100%" height="fit" layout="horizontal-row" >
<spacer height="1%" width="20"/>
<div width="100%" height="10%" layout="horizontal-row" >
<label id="more-options" proportion="1" text_align="left"/>
<spinner id="more-options-spinner" proportion="1" wrap_around="true"/>
</div>
<spacer width="10" height="20"/>
<buttonbar id="options" x="0" y="0" width="25%" height="12%" align="center">
<spacer height="1%" width="20"/>
<buttonbar id="options" x="0" y="0" width="25%" height="18%" align="center">
<icon-button id="ok" width="64" height="64" icon="gui/icons/green_check.png"
I18N="In the server configuration screen" text="OK" label_location="bottom"/>
<icon-button id="cancel" width="64" height="64" icon="gui/icons/main_quit.png"
I18N="In the server configuration screen" text="Cancel" label_location="bottom"/>
</buttonbar>
<spacer height="3%" width="20"/>
</box>
</div>
</stkgui>