diff --git a/src/MainWindow.vala b/src/MainWindow.vala index 7da5989bc..9374c6dfb 100644 --- a/src/MainWindow.vala +++ b/src/MainWindow.vala @@ -60,10 +60,10 @@ public class Tasks.MainWindow : Gtk.ApplicationWindow { sidebar_header.pack_start (new Gtk.WindowControls (Gtk.PackType.START)); var scrolledwindow = new Gtk.ScrolledWindow () { + child = listbox, hexpand = true, vexpand = true, - hscrollbar_policy = Gtk.PolicyType.NEVER, - child = listbox + hscrollbar_policy = Gtk.PolicyType.NEVER }; add_tasklist_buttonbox = new Gtk.Box (Gtk.Orientation.VERTICAL, 6); // TODO: check spacing