Simplify code

This commit is contained in:
alfrix
2022-05-23 13:08:36 -03:00
committed by Alfredo Monclus
parent 3889fdbe4c
commit 33195f203f
17 changed files with 105 additions and 260 deletions

View File

@@ -29,11 +29,7 @@ class BedMeshPanel(ScreenPanel):
self.show_create = False
scroll = Gtk.ScrolledWindow()
scroll.set_property("overlay-scrolling", False)
scroll.set_vexpand(True)
scroll.add_events(Gdk.EventMask.TOUCH_MASK)
scroll.add_events(Gdk.EventMask.BUTTON_PRESS_MASK)
scroll = self._gtk.ScrolledWindow()
# Create a grid for all profiles
self.labels['profiles'] = Gtk.Grid()