Give slightly more space for options in tracks screen

This commit is contained in:
Deve 2019-05-15 22:37:56 +02:00
parent 5b133c21c9
commit 10a580ebd3

View File

@ -9,13 +9,13 @@
<div width="100%" height="73%" layout="horizontal-row"> <div width="100%" height="73%" layout="horizontal-row">
<!-- Left pane --> <!-- Left pane -->
<div width="34%" height="100%" layout="vertical-row"> <div width="30%" height="100%" layout="vertical-row">
<icon-button width="100%" height="55%" id="screenshot" custom_ratio="1.33333"/> <icon-button width="100%" height="50%" id="screenshot" custom_ratio="1.33333"/>
<spacer width="1" height="2%"/> <spacer width="1" height="2%"/>
<!-- Misc. info box --> <!-- Misc. info box -->
<box width="100%" height="43%" padding="10" layout="vertical-row"> <box width="100%" height="48%" padding="10" layout="vertical-row">
<spacer width="1" height="20%"/> <spacer width="1" height="20%"/>
<label id="author" width="100%" text_align="center" word_wrap="true"/> <label id="author" width="100%" text_align="center" word_wrap="true"/>
<spacer width="1" height="20%"/> <spacer width="1" height="20%"/>
@ -26,9 +26,9 @@
<spacer width="2%" height="1"/> <spacer width="2%" height="1"/>
<div width="64%" height="100%" layout="vertical-row"> <div width="68%" height="100%" layout="vertical-row">
<!-- Right pane --> <!-- Right pane -->
<box width="100%" height="55%" padding="10" layout="vertical-row"> <box width="100%" height="50%" padding="10" layout="vertical-row">
<label id="highscores" width="100%" text_align="center" text="= Highscores ="/> <label id="highscores" width="100%" text_align="center" text="= Highscores ="/>
<spacer width="1" height="1%"/> <spacer width="1" height="1%"/>
<list id="highscore_entries" x="0" y="0" width="100%" proportion="1"/> <list id="highscore_entries" x="0" y="0" width="100%" proportion="1"/>
@ -36,7 +36,7 @@
<spacer width="1" height="2%"/> <spacer width="1" height="2%"/>
<!-- Race options box --> <!-- Race options box -->
<box width="100%" height="43%" layout="vertical-row" id="race-options-box"> <box width="100%" height="48%" layout="vertical-row" id="race-options-box">
<div width="100%" height="fit" layout="horizontal-row" id="target-type-div"> <div width="100%" height="fit" layout="horizontal-row" id="target-type-div">
<div proportion="3" height="fit" layout="horizontal-row"> <div proportion="3" height="fit" layout="horizontal-row">
<spinner id="target-type-spinner" width="100%" align="center" <spinner id="target-type-spinner" width="100%" align="center"
@ -45,25 +45,25 @@
<spacer width="3%"/> <spacer width="3%"/>
<label id="target-type-text" proportion="3" I18N="In the track info screen" text_align="left" /> <label id="target-type-text" proportion="3" I18N="In the track info screen" text_align="left" />
</div> </div>
<spacer width="1" height="2%"/> <spacer width="1" height="1%"/>
<div width="100%" height="fit" layout="horizontal-row" > <div width="100%" height="fit" layout="horizontal-row" >
<div proportion="1" height="fit" layout="horizontal-row"> <div proportion="1" height="fit" layout="horizontal-row">
<spinner id="target-value-spinner" width="100%" min_value="1" max_value="20" align="center" <spinner id="target-value-spinner" width="100%" min_value="1" max_value="20" align="center"
wrap_around="true" /> wrap_around="true" />
</div> </div>
<spacer width="3%"/> <spacer width="3%"/>
<label id="target-value-text" proportion="3" I18N="In the track info screen" text="Number of laps" text_align="left"/> <label id="target-value-text" proportion="3" I18N="In the track info screen" text="Number of laps" text_align="left" align="center"/>
</div> </div>
<spacer width="1" height="2%"/> <spacer width="1" height="1%"/>
<div width="100%" height="fit" layout="horizontal-row" > <div width="100%" height="fit" layout="horizontal-row" >
<div proportion="1" height="fit" layout="horizontal-row"> <div proportion="1" height="fit" layout="horizontal-row">
<spinner id="ai-spinner" width="100%" min_value="1" max_value="20" align="center" <spinner id="ai-spinner" width="100%" min_value="1" max_value="20" align="center"
wrap_around="true" /> wrap_around="true" />
</div> </div>
<spacer width="3%"/> <spacer width="3%"/>
<label id="ai-text" proportion="3" I18N="In the track info screen" text="Number of AI karts" text_align="left"/> <label id="ai-text" proportion="3" I18N="In the track info screen" text="Number of AI karts" text_align="left" align="center"/>
</div> </div>
<spacer width="1" height="2%"/> <spacer width="1" height="1%"/>
<div width="100%" height="fit" layout="horizontal-row" > <div width="100%" height="fit" layout="horizontal-row" >
<div proportion="1" height="fit" layout="horizontal-row"> <div proportion="1" height="fit" layout="horizontal-row">
<div width="100%" height="fit" text-align="center" layout="vertical-row" > <div width="100%" height="fit" text-align="center" layout="vertical-row" >
@ -71,9 +71,9 @@
</div> </div>
</div> </div>
<spacer width="3%"/> <spacer width="3%"/>
<label id="option-text" proportion="3" I18N="In the track info screen" text_align="left"/> <label id="option-text" proportion="3" I18N="In the track info screen" text_align="left" align="center"/>
</div> </div>
<spacer width="1" height="2%"/> <spacer width="1" height="1%"/>
<div width="100%" height="fit" layout="horizontal-row" > <div width="100%" height="fit" layout="horizontal-row" >
<div proportion="1" height="fit" layout="horizontal-row"> <div proportion="1" height="fit" layout="horizontal-row">
<div width="100%" height="fit" text-align="center" layout="vertical-row" > <div width="100%" height="fit" text-align="center" layout="vertical-row" >
@ -81,7 +81,7 @@
</div> </div>
</div> </div>
<spacer width="3%"/> <spacer width="3%"/>
<label id="record-race-text" proportion="3" I18N="In the track info screen" text="Record the race for ghost replay" text_align="left"/> <label id="record-race-text" proportion="3" I18N="In the track info screen" text="Record the race for ghost replay" text_align="left" align="center"/>
</div> </div>
</box><!-- Race options box --> </box><!-- Race options box -->
</div> </div>