Move send button to the same line as edit box to avoid too big space between them on some resolutions

This commit is contained in:
Deve 2018-11-30 21:42:15 +01:00
parent b3e41db14b
commit bf76a2a1e2

View File

@ -17,13 +17,13 @@
<spacer height="2%"/> <spacer height="2%"/>
<div x="2%" width="96%" height="20%" layout="horizontal-row"> <div x="2%" width="96%" height="20%" layout="horizontal-row">
<box proportion="4" height="100%" layout="vertical-row"> <box proportion="4" height="100%" layout="vertical-row">
<textbox id="chat" width="100%"/> <div x="1%" width="98%" height="fit" layout="horizontal-row">
<spacer height="5%"/> <textbox id="chat" width="77%"/>
<div width="100%" proportion="1" layout="horizontal-row">
<button id="send" width="20%" height="fit" align="center" I18N="In the network lobby" text="Send"/>
<spacer width="3%" height="10"/> <spacer width="3%" height="10"/>
<label id="timeout-message" width="77%" height="fit" text="" word_wrap="true" align="center"/> <button id="send" width="20%" height="fit" align="center" I18N="In the network lobby" text="Send"/>
</div> </div>
<spacer height="5%" width="10"/>
<label id="timeout-message" x="1%" width="98%" proportion="1" text="" word_wrap="true" align="center"/>
</box> </box>
<spacer width="3%"/> <spacer width="3%"/>
<icon-button id="start" proportion="1" height="60%" icon="gui/icons/green_check.png" align="top" <icon-button id="start" proportion="1" height="60%" icon="gui/icons/green_check.png" align="top"