Skip to content

Commit c9af45b

Browse files
floraCalcProgrammer1
authored andcommitted
Edited resize popup so it does not break anymore when resizing
1 parent 8465d78 commit c9af45b

1 file changed

Lines changed: 43 additions & 41 deletions

File tree

qt/OpenRGBZoneResizeDialog.ui

Lines changed: 43 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -6,52 +6,54 @@
66
<rect>
77
<x>0</x>
88
<y>0</y>
9-
<width>400</width>
10-
<height>180</height>
9+
<width>233</width>
10+
<height>71</height>
1111
</rect>
1212
</property>
1313
<property name="windowTitle">
1414
<string>Resize Zone</string>
1515
</property>
16-
<widget class="QDialogButtonBox" name="buttonBox">
17-
<property name="geometry">
18-
<rect>
19-
<x>30</x>
20-
<y>140</y>
21-
<width>341</width>
22-
<height>32</height>
23-
</rect>
24-
</property>
25-
<property name="orientation">
26-
<enum>Qt::Horizontal</enum>
27-
</property>
28-
<property name="standardButtons">
29-
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
30-
</property>
31-
</widget>
32-
<widget class="QSlider" name="ResizeSlider">
33-
<property name="geometry">
34-
<rect>
35-
<x>20</x>
36-
<y>20</y>
37-
<width>361</width>
38-
<height>22</height>
39-
</rect>
40-
</property>
41-
<property name="orientation">
42-
<enum>Qt::Horizontal</enum>
43-
</property>
44-
</widget>
45-
<widget class="QSpinBox" name="ResizeBox">
46-
<property name="geometry">
47-
<rect>
48-
<x>260</x>
49-
<y>80</y>
50-
<width>121</width>
51-
<height>22</height>
52-
</rect>
53-
</property>
54-
</widget>
16+
<layout class="QGridLayout" name="gridLayout" columnstretch="1,0">
17+
<item row="0" column="0">
18+
<widget class="QSlider" name="ResizeSlider">
19+
<property name="sizePolicy">
20+
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
21+
<horstretch>0</horstretch>
22+
<verstretch>0</verstretch>
23+
</sizepolicy>
24+
</property>
25+
<property name="orientation">
26+
<enum>Qt::Horizontal</enum>
27+
</property>
28+
</widget>
29+
</item>
30+
<item row="0" column="1">
31+
<widget class="QSpinBox" name="ResizeBox">
32+
<property name="sizePolicy">
33+
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
34+
<horstretch>0</horstretch>
35+
<verstretch>0</verstretch>
36+
</sizepolicy>
37+
</property>
38+
</widget>
39+
</item>
40+
<item row="1" column="0" colspan="2">
41+
<widget class="QDialogButtonBox" name="buttonBox">
42+
<property name="sizePolicy">
43+
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
44+
<horstretch>0</horstretch>
45+
<verstretch>0</verstretch>
46+
</sizepolicy>
47+
</property>
48+
<property name="orientation">
49+
<enum>Qt::Horizontal</enum>
50+
</property>
51+
<property name="standardButtons">
52+
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
53+
</property>
54+
</widget>
55+
</item>
56+
</layout>
5557
</widget>
5658
<resources/>
5759
<connections>

0 commit comments

Comments
 (0)