mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
Lint.
This commit is contained in:
parent
209d07dd62
commit
679c16806a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue