Wrap titles box in a scrolled window
Fixes https://gitlab.gnome.org/GNOME/libhandy/-/issues/403
This commit is contained in:
parent
bb41fb9ce6
commit
23805192a1
|
@ -54,7 +54,9 @@ public class ConversationTitlebarNoCsd : ConversationTitlebar, Gtk.Box {
|
||||||
content_box.add(back_revealer);
|
content_box.add(back_revealer);
|
||||||
|
|
||||||
Box titles_box = new Box(Orientation.VERTICAL, 0) { valign=Align.CENTER, hexpand=true, visible=true };
|
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);
|
titles_box.add(title_label);
|
||||||
subtitle_label.attributes = new AttrList();
|
subtitle_label.attributes = new AttrList();
|
||||||
|
|
Loading…
Reference in a new issue