fullscreen {
    full_center {
        server_connect_box {
            center {
                label {
                    "Server Address"
                }
            }
            textbox(id="address") {
                content {
                    "127.0.0.1"
                }
            }
            button(
                on_click="init#
                    local server_address = ui.query()
                        :name('textbox')
                        :property_string('id', 'address')
                        :child()
                        :name('content')
                        :child()
                        :text()
                        :matches()(nil, nil)
                    ui.emit_event(
                        'multi_player',
                        server_address.text
                    )
                "
            ) {
                content {
                    "Connect"
                }
            }
        }
    }
    server_connect_error(show=false) {
        error_icon
        ""
    }
    button(
        x=16, bottom=16, width=200, height=40,
        on_click="init#ui.emit_event('switch_menu', 'multiplayer')"
    ) {
        content {
            "Back"
        }
    }
}