Set fixed width instead of maximum width for symbols. (#5821)

Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
This commit is contained in:
BruebachL 2025-04-10 04:38:07 +02:00 committed by GitHub
parent 6171658c0c
commit 13d18986b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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