Skip to content

Commit

Permalink
Options Dialog: Adjust size policy, field growth policy, alignment
Browse files Browse the repository at this point in the history
These are already the defaults for macOS; makes other platforms/styles behave similarly
  • Loading branch information
jdpurcell committed May 20, 2024
1 parent 286785a commit 3c5121d
Showing 1 changed file with 48 additions and 3 deletions.
51 changes: 48 additions & 3 deletions src/qvoptionsdialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,25 @@
<x>0</x>
<y>0</y>
<width>482</width>
<height>562</height>
<height>360</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QFormLayout" name="windowLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::FieldsStayAtSizeHint</enum>
</property>
<property name="labelAlignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="formAlignment">
<set>Qt::AlignHCenter|Qt::AlignTop</set>
</property>
<property name="leftMargin">
<number>10</number>
</property>
Expand Down Expand Up @@ -317,10 +332,25 @@
<x>0</x>
<y>0</y>
<width>482</width>
<height>562</height>
<height>297</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QFormLayout" name="imageLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::FieldsStayAtSizeHint</enum>
</property>
<property name="labelAlignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="formAlignment">
<set>Qt::AlignHCenter|Qt::AlignTop</set>
</property>
<property name="leftMargin">
<number>10</number>
</property>
Expand Down Expand Up @@ -577,10 +607,25 @@
<x>0</x>
<y>0</y>
<width>482</width>
<height>562</height>
<height>467</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QFormLayout" name="miscLayout">
<property name="fieldGrowthPolicy">
<enum>QFormLayout::FieldsStayAtSizeHint</enum>
</property>
<property name="labelAlignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
</property>
<property name="formAlignment">
<set>Qt::AlignHCenter|Qt::AlignTop</set>
</property>
<property name="leftMargin">
<number>10</number>
</property>
Expand Down

0 comments on commit 3c5121d

Please sign in to comment.