Qt: Set Minimum Icon Size List to 48 (#3018)

This commit is contained in:
¥IGA authored and GitHub committed 2025-06-01 14:52:09 +03:00
1 parent c09e463b8e
commit bb199865cf
1 file changed
+3 -3
+3 -3
View File
@@ -387,9 +387,9 @@ void MainWindow::CreateConnects() {
connect(ui->sizeSlider, &QSlider::valueChanged, this, [this](int value) {
if (isTableList) {
m_game_list_frame->icon_size =
36 + value; // 36 is the minimum icon size to use due to text disappearing.
m_game_list_frame->ResizeIcons(36 + value);
Config::setIconSize(36 + value);
48 + value; // 48 is the minimum icon size to use due to text disappearing.
m_game_list_frame->ResizeIcons(48 + value);
Config::setIconSize(48 + value);
Config::setSliderPosition(value);
} else {
m_game_grid_frame->icon_size = 69 + value;