You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lxqt-notificationd-packaging/debian/patches/fix-notification-height-cha...

16 lines
527 B

Description: Keep notification height when others are added and/or removed
Author: Piotr Wójcik <chocimier@tlen.pl>
Origin: upstream
Applied-Upstream: commit:db5707d
Last-Update: 2018-07-14
--- a/src/notification.cpp
+++ b/src/notification.cpp
@@ -60,6 +60,7 @@ Notification::Notification(const QString
setMaximumWidth(parent->width());
setMinimumWidth(parent->width());
+ setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Fixed);
setValues(application, summary, body, icon, timeout, actions, hints);