From 81393a95d5057ff48978d95ab0fc19e73ec1fb63 Mon Sep 17 00:00:00 2001 From: YiFang Xiao Date: Sat, 28 Dec 2024 20:56:11 +0800 Subject: [PATCH] 1 --- src/ui/groupcombobox.cc | 2 +- src/ui/mainwindow.cc | 3 ++- src/ui/scanpopup.cc | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/ui/groupcombobox.cc b/src/ui/groupcombobox.cc index dc6c3e63b..2dec5a19e 100644 --- a/src/ui/groupcombobox.cc +++ b/src/ui/groupcombobox.cc @@ -48,7 +48,7 @@ void GroupComboBox::fill( Instances::Groups const & groups ) QFontMetrics metrics( font() ); int size = metrics.height(); - setIconSize( QSize( size, size ) ); + setIconSize( QSize( size, size )); for ( unsigned x = 0; x < groups.size(); ++x ) { addItem( groups[ x ].makeIcon(), groups[ x ].name, groups[ x ].id ); diff --git a/src/ui/mainwindow.cc b/src/ui/mainwindow.cc index 7eeee1037..4e92c930a 100644 --- a/src/ui/mainwindow.cc +++ b/src/ui/mainwindow.cc @@ -3175,7 +3175,8 @@ void MainWindow::iconSizeActionTriggered( QAction * /*action*/ ) groupList->setFont( font ); groupList->setFixedHeight( extent ); - translateBoxWidget->setFixedHeight( extent ); + translateLine->setFixedHeight( extent ); + groupList->setFixedHeight( extent ); } void MainWindow::toggleMenuBarTriggered( bool announce ) diff --git a/src/ui/scanpopup.cc b/src/ui/scanpopup.cc index 8831b13c5..63baeb31a 100644 --- a/src/ui/scanpopup.cc +++ b/src/ui/scanpopup.cc @@ -1124,7 +1124,7 @@ void ScanPopup::setDictionaryIconSize() dictionaryBar.setDictionaryIconSize( DictionaryBar::IconSize::Large ); } - scanPopup->applyWordsZoomLevel(); + applyWordsZoomLevel(); }