From 94f45874612d67a14615fab7540b30108b09f0d6 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Wed, 20 Mar 2024 19:34:08 +0800 Subject: [PATCH] fix: Size of the font combo box in the font list editing dialog is too little. --- RedPandaIDE/widgets/editorfontdialog.cpp | 1 - RedPandaIDE/widgets/editorfontdialog.ui | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/RedPandaIDE/widgets/editorfontdialog.cpp b/RedPandaIDE/widgets/editorfontdialog.cpp index d28952cf..5563ae07 100644 --- a/RedPandaIDE/widgets/editorfontdialog.cpp +++ b/RedPandaIDE/widgets/editorfontdialog.cpp @@ -29,7 +29,6 @@ void EditorFontDialog::on_chkMonoOnly_toggled(bool checked) QString savedFont = ui->fontComboBox->currentFont().family(); ui->fontComboBox->setFontFilters(checked ? QFontComboBox::MonospacedFonts : QFontComboBox::AllFonts); ui->fontComboBox->setCurrentFont(QFont(savedFont)); - ui->fontComboBox->adjustSize(); } diff --git a/RedPandaIDE/widgets/editorfontdialog.ui b/RedPandaIDE/widgets/editorfontdialog.ui index 1ea10074..e443c3a9 100644 --- a/RedPandaIDE/widgets/editorfontdialog.ui +++ b/RedPandaIDE/widgets/editorfontdialog.ui @@ -18,7 +18,7 @@ - 1 + 0 0