Change the deprecated VBox and HBox to oriented Boxes

This commit is contained in:
alfrix
2022-06-30 09:28:28 -03:00
committed by Alfredo Monclus
parent 12d90bcffa
commit 06fceec84a
13 changed files with 25 additions and 25 deletions

View File

@@ -25,7 +25,7 @@ class ScreenPanel:
self.layout = Gtk.Layout()
self.layout.set_size(self._screen.width, self._screen.height)
self.content = Gtk.VBox()
self.content = Gtk.Box(orientation=Gtk.Orientation.VERTICAL)
self.content.get_style_context().add_class("content")
self.content.set_hexpand(True)
self.content.set_vexpand(True)