increased max height of SongPopover

This commit is contained in:
Martin Wagner 2020-12-08 20:03:40 +01:00
parent 79e7ea5973
commit d2fc1aff18

View File

@ -1390,7 +1390,7 @@ class SongPopover(Gtk.Popover):
scroll=Gtk.ScrolledWindow(border_width=3)
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
window=self.get_toplevel()
scroll.set_max_content_height(window.get_size()[1]//3)
scroll.set_max_content_height(window.get_size()[1]//2)
scroll.set_propagate_natural_height(True)
scroll.add(treeview)
self.add(scroll)