From 1cecd1c324ae471be7bb4f9ffd55c3794228aa4a Mon Sep 17 00:00:00 2001 From: Martin Rotter Date: Mon, 21 Jun 2021 10:10:05 +0200 Subject: [PATCH] better size behavior of notification editor --- .../gui/notifications/singlenotificationeditor.cpp | 2 ++ .../gui/notifications/singlenotificationeditor.ui | 6 ------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/librssguard/gui/notifications/singlenotificationeditor.cpp b/src/librssguard/gui/notifications/singlenotificationeditor.cpp index 11331c26f..7d0dfef1d 100755 --- a/src/librssguard/gui/notifications/singlenotificationeditor.cpp +++ b/src/librssguard/gui/notifications/singlenotificationeditor.cpp @@ -22,6 +22,8 @@ SingleNotificationEditor::SingleNotificationEditor(const Notification& notificat connect(m_ui.m_btnClearSound, &QPushButton::clicked, m_ui.m_txtSound, &QLineEdit::clear); connect(m_ui.m_txtSound, &QLineEdit::textChanged, this, &SingleNotificationEditor::notificationChanged); connect(m_ui.m_cbBalloon, &QCheckBox::toggled, this, &SingleNotificationEditor::notificationChanged); + + setFixedHeight(sizeHint().height()); } Notification SingleNotificationEditor::notification() const { diff --git a/src/librssguard/gui/notifications/singlenotificationeditor.ui b/src/librssguard/gui/notifications/singlenotificationeditor.ui index 40c13c664..4194f2946 100755 --- a/src/librssguard/gui/notifications/singlenotificationeditor.ui +++ b/src/librssguard/gui/notifications/singlenotificationeditor.ui @@ -10,12 +10,6 @@ 65 - - - 0 - 0 - - 6