fix: Size of the font combo box in the font list editing dialog is too little.
This commit is contained in:
parent
96c606c221
commit
94f4587461
|
@ -29,7 +29,6 @@ void EditorFontDialog::on_chkMonoOnly_toggled(bool checked)
|
||||||
QString savedFont = ui->fontComboBox->currentFont().family();
|
QString savedFont = ui->fontComboBox->currentFont().family();
|
||||||
ui->fontComboBox->setFontFilters(checked ? QFontComboBox::MonospacedFonts : QFontComboBox::AllFonts);
|
ui->fontComboBox->setFontFilters(checked ? QFontComboBox::MonospacedFonts : QFontComboBox::AllFonts);
|
||||||
ui->fontComboBox->setCurrentFont(QFont(savedFont));
|
ui->fontComboBox->setCurrentFont(QFont(savedFont));
|
||||||
ui->fontComboBox->adjustSize();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<widget class="QFontComboBox" name="fontComboBox">
|
<widget class="QFontComboBox" name="fontComboBox">
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||||||
<horstretch>1</horstretch>
|
<horstretch>0</horstretch>
|
||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
|
|
Loading…
Reference in New Issue