From d436cc81445330eb3710170786c93710c406ebf5 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 28 Sep 2016 23:27:15 +0200 Subject: [PATCH] Fixed: Don't fix height of operation dialog --- .../client/ryzom_installer/src/operationdialog.cpp | 5 ++++- .../tools/client/ryzom_installer/ui/operationdialog.ui | 10 ++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp b/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp index 7ccaaa428..ff63cd660 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/operationdialog.cpp @@ -71,7 +71,10 @@ COperationDialog::COperationDialog(QWidget *parent):QDialog(parent), m_aborting( connect(this, SIGNAL(fail(QString)), SLOT(onProgressFail(QString))); connect(this, SIGNAL(done()), SLOT(onDone())); - setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); + adjustSize(); + + // fix height + setFixedHeight(height()); raise(); } diff --git a/code/ryzom/tools/client/ryzom_installer/ui/operationdialog.ui b/code/ryzom/tools/client/ryzom_installer/ui/operationdialog.ui index 62ae32ab4..aef79175a 100644 --- a/code/ryzom/tools/client/ryzom_installer/ui/operationdialog.ui +++ b/code/ryzom/tools/client/ryzom_installer/ui/operationdialog.ui @@ -9,12 +9,12 @@ 0 0 - 400 + 505 106 - + 0 0 @@ -25,12 +25,6 @@ 106 - - - 400 - 106 - - Ryzom Installer