Fixed example dialog resize.

This commit is contained in:
Branimir Karadžić
2017-10-08 21:08:14 -07:00
parent 67cc3c86d5
commit 942c032f5a

View File

@@ -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() );