Use default height for spinners in gui options.

Also move them to the left side to give more space for labels.
This commit is contained in:
Deve 2019-10-18 18:12:03 +02:00
parent ade98f730b
commit 9dde7aee95

View File

@ -31,31 +31,34 @@
<spacer width="5" height="1%"/> <spacer width="5" height="1%"/>
<!-- ************ SKIN CHOICE ************ --> <!-- ************ SKIN CHOICE ************ -->
<div layout="horizontal-row" width="100%" height="fit"> <div width="100%" height="fit" layout="horizontal-row">
<label proportion="1" I18N="In the ui settings" text="Skin" align="center"/> <div layout="vertical-row" width="10f" height="fit">
<spacer width="2%" height="20"/> <spinner id="skinchoice" width="100%" align="center" />
<div layout="horizontal-row" proportion="5" height="100%"> </div>
<spinner id="skinchoice" width="60%"/> <div layout="vertical-row" proportion="1" height="100%">
<label height="100%" I18N="In the ui settings" text="Skin" align="left"/>
</div> </div>
</div> </div>
<spacer width="5" height="2%"/> <spacer width="5" height="2%"/>
<div layout="horizontal-row" width="100%" height="fit"> <div width="100%" height="fit" layout="horizontal-row">
<label proportion="1" I18N="In the ui settings" text="Minimap" align="center"/> <div layout="vertical-row" width="10f" height="fit">
<spacer width="2%" height="20"/> <spinner id="minimap" width="100%" align="center" />
<div layout="horizontal-row" proportion="5" height="100%"> </div>
<spinner id="minimap" width="60%"/> <div layout="vertical-row" proportion="1" height="100%">
<label height="100%" I18N="In the ui settings" text="Minimap" align="left"/>
</div> </div>
</div> </div>
<spacer width="5" height="2%"/> <spacer width="5" height="2%"/>
<div layout="horizontal-row" width="100%" height="fit"> <div width="100%" height="fit" layout="horizontal-row">
<label proportion="1" I18N="In the ui settings" text="Font size" align="center"/> <div layout="vertical-row" width="10f" height="fit">
<spacer width="2%" height="20"/> <gauge id="font_size" width="100%" align="center" />
<div layout="horizontal-row" proportion="5" height="100%"> </div>
<gauge id="font_size" width="60%"/> <div layout="vertical-row" proportion="1" height="100%">
<label height="100%" I18N="In the ui settings" text="Font size" align="left"/>
</div> </div>
</div> </div>
@ -75,6 +78,8 @@
<label height="100%" I18N="In the ui settings" text="Multiplayer splits screen horizontally" word_wrap="true"/> <label height="100%" I18N="In the ui settings" text="Multiplayer splits screen horizontally" word_wrap="true"/>
</div> </div>
<spacer width="5" height="2%"/>
<div layout="horizontal-row" width="100%" height="fit"> <div layout="horizontal-row" width="100%" height="fit">
<checkbox id="karts_powerup_gui"/> <checkbox id="karts_powerup_gui"/>
<spacer width="1%" height="100%" /> <spacer width="1%" height="100%" />