From 23805192a1406a1b557d0c6dbda0bcc3b0bb4569 Mon Sep 17 00:00:00 2001 From: mimi89999 Date: Tue, 19 Jan 2021 13:41:59 +0100 Subject: [PATCH] Wrap titles box in a scrolled window Fixes https://gitlab.gnome.org/GNOME/libhandy/-/issues/403 --- main/src/ui/conversation_titlebar/conversation_titlebar.vala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main/src/ui/conversation_titlebar/conversation_titlebar.vala b/main/src/ui/conversation_titlebar/conversation_titlebar.vala index 3afdbfce..e7455cab 100644 --- a/main/src/ui/conversation_titlebar/conversation_titlebar.vala +++ b/main/src/ui/conversation_titlebar/conversation_titlebar.vala @@ -54,7 +54,9 @@ public class ConversationTitlebarNoCsd : ConversationTitlebar, Gtk.Box { content_box.add(back_revealer); Box titles_box = new Box(Orientation.VERTICAL, 0) { valign=Align.CENTER, hexpand=true, visible=true }; - content_box.add(titles_box); + ScrolledWindow titles_scroll = new ScrolledWindow(null, null) { vscrollbar_policy=NEVER, hscrollbar_policy=NEVER, visible=true }; + titles_scroll.add(titles_box); + content_box.add(titles_scroll); titles_box.add(title_label); subtitle_label.attributes = new AttrList();