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( )
|
void T_Demo::makeUI( )
|
||||||
{
|
{
|
||||||
auto const& dspSize( ImGui::GetIO( ).DisplaySize );
|
auto const& dspSize( ImGui::GetIO( ).DisplaySize );
|
||||||
ImGui::SetNextWindowSize( ImVec2( 300 , dspSize.y - 150 ) ,
|
ImGui::SetNextWindowSize( ImVec2( 300 , dspSize.y - 300 ) ,
|
||||||
ImGuiSetCond_Once );
|
ImGuiSetCond_Once );
|
||||||
ImGui::SetNextWindowPos( ImVec2( 0 , 150 ) ,
|
ImGui::SetNextWindowPos( ImVec2( 0 , 150 ) ,
|
||||||
ImGuiSetCond_Once );
|
ImGuiSetCond_Once );
|
||||||
|
|
2
odbg.cc
2
odbg.cc
|
@ -41,7 +41,7 @@ void T_OutputDebugger::makeUI( )
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
auto const& dspSize( ImGui::GetIO( ).DisplaySize );
|
auto const& dspSize( ImGui::GetIO( ).DisplaySize );
|
||||||
ImGui::SetNextWindowSize( ImVec2( 300 , dspSize.y - 150 ) ,
|
ImGui::SetNextWindowSize( ImVec2( 300 , dspSize.y - 300 ) ,
|
||||||
ImGuiSetCond_Once );
|
ImGuiSetCond_Once );
|
||||||
ImGui::SetNextWindowPos( ImVec2( 0 , 150 ) ,
|
ImGui::SetNextWindowPos( ImVec2( 0 , 150 ) ,
|
||||||
ImGuiSetCond_Once );
|
ImGuiSetCond_Once );
|
||||||
|
|
Loading…
Reference in a new issue