From 942c032f5a051ae6cb6cc9dfe6249795ffb72876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 8 Oct 2017 21:08:14 -0700 Subject: [PATCH] Fixed example dialog resize. --- examples/common/example-glue.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/common/example-glue.cpp b/examples/common/example-glue.cpp index ec382840f..8ab7a228e 100644 --- a/examples/common/example-glue.cpp +++ b/examples/common/example-glue.cpp @@ -19,10 +19,9 @@ void showExampleDialog(entry::AppI* _app, const char* _errorText) ImVec2(10.0f, 50.0f) , ImGuiSetCond_FirstUseEver ); - ImGui::SetNextWindowSize(ImVec2(256.0f, 200.0f)); ImGui::Begin(temp , NULL - , ImGuiWindowFlags_AlwaysAutoResize + , ImVec2(256.0f, 200.0f) ); ImGui::TextWrapped("%s", _app->getDescription() );