mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 09:33:57 -07:00
fix button size
This commit is contained in:
parent
a70ee79601
commit
672adac192
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@ void SettingsButtonWidget::setButtonIcon(QPixmap iconMap)
|
|||
void SettingsButtonWidget::setButtonText(const QString &buttonText)
|
||||
{
|
||||
// 🔓 unlock size constraints
|
||||
button->setMinimumSize(QSize());
|
||||
button->setMinimumSize(QSize(0, 0));
|
||||
button->setMaximumSize(QSize(QWIDGETSIZE_MAX, QWIDGETSIZE_MAX));
|
||||
|
||||
button->setToolButtonStyle(Qt::ToolButtonTextBesideIcon);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue