stk-code_catmod/data/gui/dialogs/select_challenge_nobest.stkgui
dumaosen 6cc75a106b UI fix bundle VII (#3949)
* Smarter size

* Better size

* Smarter row size

* Smarter size

* Fix #3792

* Bigger title && use 4 spaces

* Fix #3792

* Better credits

* Smarter size

* Less lines to preserve space

* Smarter icon size

* Better size

* Completely fix #3792

Using buttonbar in every line can avoid scaling problems

* Completely fix #3792

* Completely fix #3792

* Add space under the screen

* Make space smaller

* Smarter ratingbar size

* Better size

* More reasonable size for powerup texts

* Better spacer under the screen

* Sparter space under buttons

* Smarter space under buttons

* Smarter space

* Smaeter space under icons

* Smarter space under buttons

* Smarter space

* Smarter space under butons

* Smarter space

* Smarter space under buttons

* Smarter space

* Smarter space under buttons

* Smarter space

* Smarter stars size

* Fix an extra line

* change buttonbar back into ribbon

* dont declare the width of the buttons

It may cause some characters partly showed or hidden in some lang
2019-06-08 22:01:54 +02:00

60 lines
2.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
<div x="5%" y="5%" width="90%" height="90%" layout="vertical-row" >
<div width="100%" layout="horizontal-row" height="12%">
<div width="8%" layout="vertical-row" height="100%">
<spacer height="5%" width="1"/>
<icon-button id="back" width="100%" height="60%" align="left" icon="gui/icons/back.png"/>
</div>
<header id="title" width="80%" text="Race Setup" align="center" text_align="center" />
<spacer height="1" width="12%"/>
</div>
<spacer height="2%" width="1"/>
<div width="100%" layout="horizontal-row" height="fit">
<label id="race_type" text="Type:" I18N="Type of race, in a challenge"/>
<spacer width="5" height="1"/>
<label id="race_type_val" proportion="1"/>
</div>
<spacer height="6%" width="1"/>
<div width="100%" height="20%" layout="horizontal-row">
<buttonbar id="icon_novice" height="100%" width="10%" align="center">
<icon-button id="novice" icon="gui/icons/difficulty_easy.png"
width="128" height="128" I18N="Difficulty" text="Novice"/>
</buttonbar>
<spacer width="1f" height="1"/>
<label id="novice_label" height="100%"/>
</div>
<spacer height="6%" width="1"/>
<div width="100%" height="20%" layout="horizontal-row">
<buttonbar id="icon_intermediate" height="100%" width="10%" align="center">
<icon-button id="intermediate" icon="gui/icons/difficulty_medium.png"
width="128" height="128" I18N="Difficulty" text="Intermediate"/>
</buttonbar>
<spacer width="1f" height="1"/>
<label id="intermediate_label" height="100%"/>
</div>
<spacer height="6%" width="1"/>
<div width="100%" height="20%" layout="horizontal-row">
<buttonbar id="icon_expert" height="100%" width="10%" align="center">
<icon-button id="expert" icon="gui/icons/difficulty_hard.png"
width="128" height="128" I18N="Difficulty" text="Expert"/>
</buttonbar>
<spacer width="1f" height="1"/>
<label id="difficult_label" height="100%"/>
</div>
</div>
</stkgui>