Fixed UI sizes

This commit is contained in:
Emmanuel BENOîT 2017-10-06 14:45:00 +02:00
parent c90c0d6140
commit 99be577dac
2 changed files with 2 additions and 2 deletions

View file

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

View file

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