stk-code_catmod/data/gui/dialogs/online/splitscreen_player_dialog.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
3.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<stkgui>
<div x="2%" y="5%" width="96%" height="90%" layout="vertical-row" >
<header id="title" width="96%" height="fit" text_align="center" word_wrap="true"
I18N="Splitscreen player in network" text="Add player"/>
<spacer height="8%" width="10"/>
<div width="100%" align="center" layout="horizontal-row" height="fit" >
<div proportion="1" align="center" layout="horizontal-row" height="fit" >
<spacer proportion="1" height="10"/>
<spinner id="name-spinner" width="70%" align="center" wrap_around="true" />
</div>
<spacer width="5%" height="10"/>
<div proportion="1" align="center" layout="horizontal-row" height="fit" >
<label id="name-text" text_align="left" I18N="Splitscreen player in network" text="Name"/>
<spacer proportion="1" height="10"/>
</div>
</div>
<spacer height="2%" width="10"/>
<div id="handicap-row" width="100%" align="center" layout="horizontal-row" height="fit" >
<div proportion="1" align="center" layout="horizontal-row" height="fit" >
<spacer proportion="1" height="10"/>
<checkbox id="handicap" align="center" />
</div>
<spacer width="5%" height="10"/>
<div proportion="1" align="center" layout="horizontal-row" height="fit" >
<label id="handicap-text" text_align="left" I18N="Splitscreen player in network" text="Handicap"/>
<spacer proportion="1" height="10"/>
</div>
</div>
<spacer proportion="2" width="10"/>
<div width="80%" align="center" layout="vertical-row" height="fit" >
<div width="100%" height="fit" layout="horizontal-row" >
<label id="message-label" proportion="1" text_align="center" word_wrap="true" I18N="Splitscreen player in network"
text="Press the 'All players ready' button after the player list is ready."/>
</div>
</div>
<spacer proportion="3" width="10"/>
<buttonbar id="options" width="90%" height="20%" align="center">
<icon-button id="add" width="64" height="64" icon="gui/icons/blue_plus.png"
I18N="Splitscreen player in network" text="Add player" label_location="bottom"/>
<icon-button id="connect" width="64" height="64" icon="gui/icons/green_check.png"
I18N="Splitscreen player in network" text="All players ready" label_location="bottom"/>
<icon-button id="cancel" width="64" height="64" icon="gui/icons/main_quit.png"
I18N="Splitscreen player in network" text="Cancel" label_location="bottom"/>
<icon-button id="reset" width="64" height="64" icon="gui/icons/remove.png"
I18N="Splitscreen player in network" text="Clear players" label_location="bottom"/>
</buttonbar>
<spacer height="1f" width="10"/>
</div>
</stkgui>