Edited resize popup so it does not break anymore when resizing

This commit is contained in:
flora 2022-11-24 20:56:15 +01:00 committed by Adam Honse
parent 8465d78b7b
commit c9af45bf92

View file

@ -6,52 +6,54 @@
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>180</height>
<width>233</width>
<height>71</height>
</rect>
</property>
<property name="windowTitle">
<string>Resize Zone</string>
</property>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="geometry">
<rect>
<x>30</x>
<y>140</y>
<width>341</width>
<height>32</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
<widget class="QSlider" name="ResizeSlider">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>361</width>
<height>22</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QSpinBox" name="ResizeBox">
<property name="geometry">
<rect>
<x>260</x>
<y>80</y>
<width>121</width>
<height>22</height>
</rect>
</property>
</widget>
<layout class="QGridLayout" name="gridLayout" columnstretch="1,0">
<item row="0" column="0">
<widget class="QSlider" name="ResizeSlider">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QSpinBox" name="ResizeBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="standardButtons">
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections>