[BannerWidget] Also set a max height

Took 4 minutes
This commit is contained in:
Lukas Brübach 2026-08-25 19:22:53 +02:00
parent c44883b453
commit 38d4f7c811

View file

@ -32,6 +32,7 @@ BannerWidget::BannerWidget(QWidget *parent, const QString &text, Qt::Orientation
// Set minimum height for the widget // Set minimum height for the widget
setMinimumHeight(50); setMinimumHeight(50);
setMaximumHeight(100);
connect(this, &BannerWidget::buddyVisibilityChanged, this, &BannerWidget::toggleBuddyVisibility); connect(this, &BannerWidget::buddyVisibilityChanged, this, &BannerWidget::toggleBuddyVisibility);
updateDropdownIconState(); updateDropdownIconState();