Changed: Fixed height for MainWindow

This commit is contained in:
kervala 2016-06-12 15:11:39 +02:00
parent 62d4b5d3a1
commit 4adf6fe993
2 changed files with 8 additions and 8 deletions

View file

@ -51,6 +51,12 @@ CMainWindow::CMainWindow():QMainWindow()
connect(profilesComboBox, SIGNAL(currentIndexChanged(int)), SLOT(onProfileChanged(int))); 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(); updateProfiles();
} }

View file

@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>547</width> <width>596</width>
<height>386</height> <height>386</height>
</rect> </rect>
</property> </property>
@ -22,12 +22,6 @@
<height>386</height> <height>386</height>
</size> </size>
</property> </property>
<property name="maximumSize">
<size>
<width>547</width>
<height>386</height>
</size>
</property>
<property name="windowTitle"> <property name="windowTitle">
<string>Ryzom Installer</string> <string>Ryzom Installer</string>
</property> </property>
@ -115,7 +109,7 @@ p, li { white-space: pre-wrap; }
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>547</width> <width>596</width>
<height>21</height> <height>21</height>
</rect> </rect>
</property> </property>