fix layout error

This commit is contained in:
Roy Qu 2024-03-20 19:28:03 +08:00
parent 4da95ebf0a
commit 96c606c221
2 changed files with 11 additions and 8 deletions

View File

@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>545</width>
<height>516</height>
<height>518</height>
</rect>
</property>
<property name="windowTitle">
@ -337,7 +337,7 @@
</layout>
</widget>
</item>
<item row="4" column="0">
<item row="4" column="0" colspan="2">
<widget class="QCheckBox" name="chkOnlyMonospaced">
<property name="text">
<string>Only Monospaced</string>

View File

@ -13,12 +13,12 @@
<property name="windowTitle">
<string>Choose Font</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QFontComboBox" name="fontComboBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<horstretch>1</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
@ -28,16 +28,19 @@
<property name="maxVisibleItems">
<number>15</number>
</property>
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToContentsOnFirstShow</enum>
</property>
</widget>
</item>
<item>
<item row="1" column="0">
<widget class="QCheckBox" name="chkMonoOnly">
<property name="text">
<string>Show only monospaced fonts</string>
</property>
</widget>
</item>
<item>
<item row="2" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
@ -50,7 +53,7 @@
</property>
</spacer>
</item>
<item>
<item row="3" column="0">
<widget class="QDialogButtonBox" name="buttonBox">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">