Fix the text boxes in the server edit screen not being focusable
This commit is contained in:
parent
2e3d9a0a4b
commit
6e33c3cc36
|
@ -90,6 +90,7 @@ impl super::Screen for EditServerEntry {
|
|||
.size(400.0, 40.0)
|
||||
.alignment(ui::VAttach::Middle, ui::HAttach::Center)
|
||||
.create(ui_container);
|
||||
ui::TextBox::make_focusable(&server_name, ui_container);
|
||||
ui::TextBuilder::new()
|
||||
.text("Name:")
|
||||
.position(0.0, -18.0)
|
||||
|
@ -102,6 +103,7 @@ impl super::Screen for EditServerEntry {
|
|||
.size(400.0, 40.0)
|
||||
.alignment(ui::VAttach::Middle, ui::HAttach::Center)
|
||||
.create(ui_container);
|
||||
ui::TextBox::make_focusable(&server_address, ui_container);
|
||||
ui::TextBuilder::new()
|
||||
.text("Address")
|
||||
.position(0.0, -18.0)
|
||||
|
|
Loading…
Reference in New Issue