Commit 61ac2037 authored by Luke Macken's avatar Luke Macken

Restrict the size of the process notebook

parent a652a6ce
......@@ -653,7 +653,7 @@ class PyrasiteWindow(Gtk.Window):
tree_view.set_headers_visible(False)
scrolled_window = Gtk.ScrolledWindow(hadjustment = None,
vadjustment = None)
scrolled_window.set_policy(Gtk.PolicyType.NEVER,
scrolled_window.set_policy(Gtk.PolicyType.AUTOMATIC,
Gtk.PolicyType.AUTOMATIC)
scrolled_window.add(tree_view)
......@@ -661,6 +661,7 @@ class PyrasiteWindow(Gtk.Window):
label = Gtk.Label(label = 'Processes')
box = Gtk.Notebook()
box.set_size_request(250, -1)
box.append_page(scrolled_window, label)
tree_view.grab_focus()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment