UI/UX: Improve manual server connect dialog
- Center top text - Word wrap top text, fixes overflow on large font sizes - Better sizing/spacing of dialog and elements
This commit is contained in:
parent
a99c554850
commit
082d02eef3
@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<stkgui>
|
||||
<div x="2%" y="2%" width="96%" height="50%" layout="vertical-row">
|
||||
<label id="title" raw_text="Text" width="100%" height="36%"/>
|
||||
<list id="list_history" x="0" y="37%" width="96%" height="63%" word_wrap="true" />
|
||||
<label id="title" raw_text="Text" width="100%" height="36%" text_align="center" word_wrap="true"/>
|
||||
<list id="list_history" x="0" y="37%" width="100%" height="63%" word_wrap="true" />
|
||||
</div>
|
||||
<div x="2%" y="70%" width="96%" height="30%" layout="vertical-row" >
|
||||
<div x="2%" y="60%" width="96%" height="40%" layout="vertical-row" >
|
||||
<spacer height="7%" width="10" />
|
||||
<textbox id="textfield" width="75%" align="center" />
|
||||
<spacer height="9%" width="10" />
|
||||
|
@ -33,7 +33,7 @@
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
EnterAddressDialog::EnterAddressDialog(std::shared_ptr<Server>* entered_server)
|
||||
: ModalDialog(0.95f, 0.8f, GUIEngine::MODAL_DIALOG_LOCATION_BOTTOM),
|
||||
: ModalDialog(0.8f, 0.8f, GUIEngine::MODAL_DIALOG_LOCATION_CENTER),
|
||||
m_self_destroy(false)
|
||||
{
|
||||
loadFromFile("enter_address_dialog.stkgui");
|
||||
|
Loading…
x
Reference in New Issue
Block a user