Fixed: Don't fix height of operation dialog

--HG--
branch : develop
This commit is contained in:
kervala 2016-09-28 23:27:15 +02:00
parent 9534b01d87
commit 5d4bdf8f60
2 changed files with 6 additions and 9 deletions

View file

@ -71,7 +71,10 @@ COperationDialog::COperationDialog(QWidget *parent):QDialog(parent), m_aborting(
connect(this, SIGNAL(fail(QString)), SLOT(onProgressFail(QString))); connect(this, SIGNAL(fail(QString)), SLOT(onProgressFail(QString)));
connect(this, SIGNAL(done()), SLOT(onDone())); connect(this, SIGNAL(done()), SLOT(onDone()));
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed); adjustSize();
// fix height
setFixedHeight(height());
raise(); raise();
} }

View file

@ -9,12 +9,12 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>400</width> <width>505</width>
<height>106</height> <height>106</height>
</rect> </rect>
</property> </property>
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed"> <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
@ -25,12 +25,6 @@
<height>106</height> <height>106</height>
</size> </size>
</property> </property>
<property name="maximumSize">
<size>
<width>400</width>
<height>106</height>
</size>
</property>
<property name="windowTitle"> <property name="windowTitle">
<string>Ryzom Installer</string> <string>Ryzom Installer</string>
</property> </property>