Auto resize, add borders to connect... window.

This commit is contained in:
Bartosz Taudul 2017-09-18 00:30:35 +02:00
parent 0643fc436d
commit 8f29976237

View File

@ -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 )
{