Improved visual style of favorite buttons.

This commit is contained in:
2017-08-21 14:43:41 +02:00
parent 836521e533
commit 6f30949343
3 changed files with 45 additions and 0 deletions
+1
View File
@@ -176,6 +176,7 @@ void ShopForm::loadButtons()
btn->setMinimumHeight(settings->favBtnSize());
btn->setMinimumWidth(settings->favBtnSize());
}
btn->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
((QGridLayout*)ui->favorites->layout())->addWidget(btn, i + 1, j);
if (btnMap[btnName] != NULL)