refactor: serverdialog, use maximum for spinbox horizontal sizepolicy

This commit is contained in:
sithlord48
2025-03-01 13:09:35 -05:00
committed by Nick Bolton
parent 4f057d706f
commit b2dadba6fa

View File

@ -384,6 +384,12 @@
</item>
<item>
<widget class="QSpinBox" name="sbSwitchCornerSize">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="suffix">
<string>px</string>
</property>
@ -450,9 +456,6 @@
</item>
<item>
<layout class="QHBoxLayout" name="layoutClipboard">
<property name="spacing">
<number>6</number>
</property>
<item>
<widget class="QCheckBox" name="cbEnableClipboard">
<property name="sizePolicy">
@ -494,6 +497,12 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="suffix">
<string>MB</string>
</property>
@ -703,6 +712,12 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="suffix">
<string>ms</string>
</property>
@ -752,6 +767,12 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="suffix">
<string>ms</string>
</property>