Wrap titles box in a scrolled window

Fixes https://gitlab.gnome.org/GNOME/libhandy/-/issues/403
This commit is contained in:
mimi89999 2021-01-19 13:41:59 +01:00 committed by Xavier Del Campo Romero
parent 7edf7303cb
commit f7667019e0
Signed by: xavi
GPG Key ID: 84FF3612A9BF43F2
1 changed files with 3 additions and 1 deletions

View File

@ -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();