This commit is contained in:
Lukas Brübach 2025-01-12 23:03:43 +01:00
parent 209d07dd62
commit 679c16806a

View file

@ -41,7 +41,7 @@ QSize DeckPreviewTagDisplayWidget::sizeHint() const
QFontMetrics fm(font());
int textWidth = fm.horizontalAdvance(tagName);
int width = textWidth + 50; // Add extra padding
int height = fm.height() + 10; // Height based on font size + padding
int height = fm.height() + 10; // Height based on font size + padding
return QSize(width, height);
}