Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyifang committed Dec 28, 2024
1 parent cd0589e commit 81393a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ui/groupcombobox.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down
3 changes: 2 additions & 1 deletion src/ui/mainwindow.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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 )
Expand Down
2 changes: 1 addition & 1 deletion src/ui/scanpopup.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ void ScanPopup::setDictionaryIconSize()
dictionaryBar.setDictionaryIconSize( DictionaryBar::IconSize::Large );
}

scanPopup->applyWordsZoomLevel();
applyWordsZoomLevel();
}


Expand Down

0 comments on commit 81393a9

Please sign in to comment.