Fixed: Don't fix height of operation dialog

This commit is contained in:
kervala 2016-09-28 23:27:15 +02:00
parent aea29ec72c
commit 345c5cdd4f
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(done()), SLOT(onDone()));
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
adjustSize();
// fix height
setFixedHeight(height());
raise();
}

View file

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