layout: spoolman fixes for vertical mode

This commit is contained in:
alfrix committed 2023-10-13 23:50:07 -03:00
1 parent ac33e8574e
commit 7ce3e0a88a
1 file changed
+4
+4
View File
@@ -169,6 +169,10 @@ class Panel(ScreenPanel):
sortable.set_sort_func(1, self.spool_compare_date)
self.scroll = self._gtk.ScrolledWindow()
if self._screen.vertical_mode:
self.scroll.set_property("overlay-scrolling", True)
else:
self.scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
sbox = Gtk.Box(spacing=0)
sbox.set_vexpand(False)