diff --git a/Userland/Services/NotificationServer/NotificationWindow.cpp b/Userland/Services/NotificationServer/NotificationWindow.cpp index 834e4b5346..5bba562ed6 100644 --- a/Userland/Services/NotificationServer/NotificationWindow.cpp +++ b/Userland/Services/NotificationServer/NotificationWindow.cpp @@ -123,7 +123,7 @@ void NotificationWindow::enter_event(Core::Event&) void NotificationWindow::leave_event(Core::Event&) { m_hovering = false; - m_text_label->set_fixed_height(-1); + m_text_label->set_preferred_height(GUI::SpecialDimension::Grow); set_height(40); }