From 99be577dacce029a99ba0de853d2f323b09c666d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Fri, 6 Oct 2017 14:45:00 +0200 Subject: [PATCH] Fixed UI sizes --- demo.cc | 2 +- odbg.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demo.cc b/demo.cc index 5146bff..47c25a3 100644 --- a/demo.cc +++ b/demo.cc @@ -26,7 +26,7 @@ bool T_Demo::initialise( ) void T_Demo::makeUI( ) { auto const& dspSize( ImGui::GetIO( ).DisplaySize ); - ImGui::SetNextWindowSize( ImVec2( 300 , dspSize.y - 150 ) , + ImGui::SetNextWindowSize( ImVec2( 300 , dspSize.y - 300 ) , ImGuiSetCond_Once ); ImGui::SetNextWindowPos( ImVec2( 0 , 150 ) , ImGuiSetCond_Once ); diff --git a/odbg.cc b/odbg.cc index e544b96..7a9b2e5 100644 --- a/odbg.cc +++ b/odbg.cc @@ -41,7 +41,7 @@ void T_OutputDebugger::makeUI( ) return; } auto const& dspSize( ImGui::GetIO( ).DisplaySize ); - ImGui::SetNextWindowSize( ImVec2( 300 , dspSize.y - 150 ) , + ImGui::SetNextWindowSize( ImVec2( 300 , dspSize.y - 300 ) , ImGuiSetCond_Once ); ImGui::SetNextWindowPos( ImVec2( 0 , 150 ) , ImGuiSetCond_Once );