forked from CreatBot/CreatBotKlipperScreen
Simplify code
This commit is contained in:
@@ -24,10 +24,7 @@ class MenuPanel(ScreenPanel):
|
||||
|
||||
self.grid = self._gtk.HomogeneousGrid()
|
||||
|
||||
scroll = Gtk.ScrolledWindow()
|
||||
scroll.set_property("overlay-scrolling", False)
|
||||
scroll.set_hexpand(True)
|
||||
scroll.set_vexpand(True)
|
||||
scroll = self._gtk.ScrolledWindow()
|
||||
scroll.set_policy(Gtk.PolicyType.NEVER, Gtk.PolicyType.AUTOMATIC)
|
||||
scroll.add(self.grid)
|
||||
|
||||
|
Reference in New Issue
Block a user