Fixed white-bar at bottom of Project Manager screen (#3091)

Signed-off-by: AMZN-alexpete <26804013+AMZN-alexpete@users.noreply.github.com>
monroegm-disable-blank-issue-2
Alex Peterson 4 years ago committed by GitHub
parent 99b369198b
commit a55cb3e35f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -168,9 +168,13 @@ namespace O3DE::ProjectManager
// the decoration wrapper is intended to remember window positioning and sizing
auto wrapper = new AzQtComponents::WindowDecorationWrapper();
wrapper->setGuest(m_mainWindow.data());
// show the main window here to apply the stylesheet before restoring geometry or we
// can end up with empty white space at the bottom of the window until the frame is resized again
m_mainWindow->show();
wrapper->enableSaveRestoreGeometry("O3DE", "ProjectManager", "mainWindowGeometry");
wrapper->showFromSettings();
m_mainWindow->show();
qApp->setQuitOnLastWindowClosed(true);

Loading…
Cancel
Save