Fixed UI sizes
This commit is contained in:
parent
c90c0d6140
commit
99be577dac
2 changed files with 2 additions and 2 deletions
2
demo.cc
2
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 );
|
||||
|
|
2
odbg.cc
2
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 );
|
||||
|
|
Loading…
Reference in a new issue