Set fixed width instead of maximum width for symbols.

This commit is contained in:
Lukas Brübach 2025-04-09 23:46:31 +02:00
parent 80b6d6a31f
commit ced818641a

View file

@ -16,7 +16,7 @@ DeckPreviewColorIdentityFilterWidget::DeckPreviewColorIdentityFilterWidget(Visua
QString fullColorIdentity = "WUBRG"; QString fullColorIdentity = "WUBRG";
for (const QChar &color : fullColorIdentity) { for (const QChar &color : fullColorIdentity) {
auto *manaSymbol = new ManaSymbolWidget(this, color, false, true); auto *manaSymbol = new ManaSymbolWidget(this, color, false, true);
manaSymbol->setMaximumWidth(25); manaSymbol->setFixedWidth(25);
layout->addWidget(manaSymbol); layout->addWidget(manaSymbol);