From 8f29976237e08470ba2a5324e0f2ed67b2b919a7 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Mon, 18 Sep 2017 00:30:35 +0200 Subject: [PATCH] Auto resize, add borders to connect... window. --- standalone/src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/standalone/src/main.cpp b/standalone/src/main.cpp index 5cee83c0..6ff7ef67 100755 --- a/standalone/src/main.cpp +++ b/standalone/src/main.cpp @@ -55,7 +55,7 @@ int main(int, char**) if( !view ) { - ImGui::Begin( "Connect to..." ); + ImGui::Begin( "Connect to...", nullptr, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_ShowBorders ); ImGui::InputText( "Address", addr, 1024 ); if( ImGui::Button( "Connect" ) && *addr ) {