From 59d128b5df4afaa09204d4827bba79b84e7893dd Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 12 Jun 2016 15:11:39 +0200 Subject: [PATCH] Changed: Fixed height for MainWindow --- .../tools/client/ryzom_installer/src/mainwindow.cpp | 6 ++++++ .../tools/client/ryzom_installer/ui/mainwindow.ui | 10 ++-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp b/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp index 03a576574..28ae504cb 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/mainwindow.cpp @@ -51,6 +51,12 @@ CMainWindow::CMainWindow():QMainWindow() connect(profilesComboBox, SIGNAL(currentIndexChanged(int)), SLOT(onProfileChanged(int))); + // resize layout depending on content and constraints + adjustSize(); + + // fix height because to left bitmap + setFixedHeight(height()); + updateProfiles(); } diff --git a/code/ryzom/tools/client/ryzom_installer/ui/mainwindow.ui b/code/ryzom/tools/client/ryzom_installer/ui/mainwindow.ui index e687996b3..4fd935e41 100644 --- a/code/ryzom/tools/client/ryzom_installer/ui/mainwindow.ui +++ b/code/ryzom/tools/client/ryzom_installer/ui/mainwindow.ui @@ -6,7 +6,7 @@ 0 0 - 547 + 596 386 @@ -22,12 +22,6 @@ 386 - - - 547 - 386 - - Ryzom Installer @@ -115,7 +109,7 @@ p, li { white-space: pre-wrap; } 0 0 - 547 + 596 21