- fix: Size of the icons in problem and problem set panel are not correct.

This commit is contained in:
Roy Qu 2024-04-12 19:23:43 +08:00
parent 0862c0555e
commit a86e872281
2 changed files with 7 additions and 0 deletions

View File

@ -137,6 +137,7 @@ Red Panda C++ Version 2.27
- enhancement: Auto hide Edit/Selection/Code/Refactor menu if no file openning. - enhancement: Auto hide Edit/Selection/Code/Refactor menu if no file openning.
- enhancement: Auto hide Project menu if no project openning. - enhancement: Auto hide Project menu if no project openning.
- fix: Toggle breakpoint by shortcut may use wrong line. - fix: Toggle breakpoint by shortcut may use wrong line.
- fix: Size of the icons in problem and problem set panel are not correct.
Red Panda C++ Version 2.26 Red Panda C++ Version 2.26
- enhancement: Code suggestion for embedded std::vectors. - enhancement: Code suggestion for embedded std::vectors.

View File

@ -1985,6 +1985,12 @@ void MainWindow::updateActionIcons()
for (QToolButton* btn: ui->panelFiles->findChildren<QToolButton *>()) { for (QToolButton* btn: ui->panelFiles->findChildren<QToolButton *>()) {
btn->setIconSize(iconSize); btn->setIconSize(iconSize);
} }
for (QToolButton* btn: ui->tabProblemSet->findChildren<QToolButton *>()) {
btn->setIconSize(iconSize);
}
for (QToolButton* btn: ui->panelProblemCaseInfo->findChildren<QToolButton *>()) {
btn->setIconSize(iconSize);
}
ui->tabExplorer->setIconSize(iconSize); ui->tabExplorer->setIconSize(iconSize);
ui->tabMessages->setIconSize(iconSize); ui->tabMessages->setIconSize(iconSize);