mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-27 16:32:20 -07:00
[BannerWidget] Also set a max height
Took 4 minutes
This commit is contained in:
parent
c44883b453
commit
38d4f7c811
1 changed files with 1 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ BannerWidget::BannerWidget(QWidget *parent, const QString &text, Qt::Orientation
|
|||
|
||||
// Set minimum height for the widget
|
||||
setMinimumHeight(50);
|
||||
setMaximumHeight(100);
|
||||
connect(this, &BannerWidget::buddyVisibilityChanged, this, &BannerWidget::toggleBuddyVisibility);
|
||||
|
||||
updateDropdownIconState();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue