File tree 3 files changed +39
-6
lines changed
3 files changed +39
-6
lines changed Original file line number Diff line number Diff line change 7
7
<x >0</x >
8
8
<y >0</y >
9
9
<width >457</width >
10
- <height >252 </height >
10
+ <height >180 </height >
11
11
</rect >
12
12
</property >
13
+ <property name =" sizePolicy" >
14
+ <sizepolicy hsizetype =" Preferred" vsizetype =" Fixed" >
15
+ <horstretch >0</horstretch >
16
+ <verstretch >0</verstretch >
17
+ </sizepolicy >
18
+ </property >
19
+ <property name =" minimumSize" >
20
+ <size >
21
+ <width >0</width >
22
+ <height >180</height >
23
+ </size >
24
+ </property >
25
+ <property name =" maximumSize" >
26
+ <size >
27
+ <width >16777215</width >
28
+ <height >180</height >
29
+ </size >
30
+ </property >
13
31
<property name =" windowTitle" >
14
32
<string >Dialog</string >
15
33
</property >
16
34
<layout class =" QVBoxLayout" name =" verticalLayout" >
17
- <property name =" sizeConstraint" >
18
- <enum >QLayout::SetFixedSize</enum >
19
- </property >
20
35
<item >
21
36
<layout class =" QHBoxLayout" name =" horizontalLayout_3" stretch =" 0,1" >
22
37
<item >
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ MainWindow::MainWindow(QWidget *parent) :
6
6
ui(new Ui::MainWindow)
7
7
{
8
8
ui->setupUi (this );
9
- layout ()->setSizeConstraint (QLayout::SetFixedSize);
9
+ // layout()->setSizeConstraint(QLayout::SetFixedSize);
10
10
}
11
11
12
12
MainWindow::~MainWindow ()
Original file line number Diff line number Diff line change 7
7
<x >0</x >
8
8
<y >0</y >
9
9
<width >315</width >
10
- <height >169 </height >
10
+ <height >180 </height >
11
11
</rect >
12
12
</property >
13
+ <property name =" sizePolicy" >
14
+ <sizepolicy hsizetype =" Preferred" vsizetype =" Fixed" >
15
+ <horstretch >0</horstretch >
16
+ <verstretch >0</verstretch >
17
+ </sizepolicy >
18
+ </property >
19
+ <property name =" minimumSize" >
20
+ <size >
21
+ <width >0</width >
22
+ <height >180</height >
23
+ </size >
24
+ </property >
25
+ <property name =" maximumSize" >
26
+ <size >
27
+ <width >16777215</width >
28
+ <height >180</height >
29
+ </size >
30
+ </property >
13
31
<property name =" windowTitle" >
14
32
<string >Démonstration problème de taille</string >
15
33
</property >
You can’t perform that action at this time.
0 commit comments