Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[ui] Prevent font combobox widgets from taking much minimum width
  • Loading branch information
nirvn committed May 17, 2019
1 parent 395a82b commit 6ca1b30
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/ui/qgstextformatwidgetbase.ui
Expand Up @@ -1315,6 +1315,12 @@ font-style: italic;</string>
</item>
<item row="1" column="1">
<widget class="QFontComboBox" name="mFontFamilyCmbBx">
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
</property>
<property name="minimumContentsLength">
<number>8</number>
</property>
<property name="editable">
<bool>false</bool>
</property>
Expand Down
9 changes: 8 additions & 1 deletion src/ui/symbollayer/widget_fontmarker.ui
Expand Up @@ -162,7 +162,14 @@
</layout>
</item>
<item row="0" column="2">
<widget class="QFontComboBox" name="cboFont"/>
<widget class="QFontComboBox" name="cboFont">
<property name="sizeAdjustPolicy">
<enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
</property>
<property name="minimumContentsLength">
<number>8</number>
</property>
</widget>
</item>
<item row="10" column="0" rowspan="3">
<widget class="QLabel" name="mAnchorPointLabel">
Expand Down

0 comments on commit 6ca1b30

Please sign in to comment.