Changed content layout

This commit is contained in:
2023-04-29 15:20:36 -05:00
parent e51f706462
commit 630a140d2f
3 changed files with 14 additions and 15 deletions

View File

@@ -8,8 +8,7 @@ from gi.repository import Gtk
# Application imports
from .left_box import LeftBox
from .right_box import RightBox
from ..widgets.button_controls import ButtonControls
from ..widgets.path_label import PathLabel
class BaseContainer(Gtk.Box):
@@ -24,21 +23,13 @@ class BaseContainer(Gtk.Box):
def _setup_styling(self):
self.set_orientation(Gtk.Orientation.VERTICAL)
self.set_orientation(Gtk.Orientation.HORIZONTAL)
ctx = self.get_style_context()
ctx.add_class("container-padding-5px")
def _setup_signals(self):
...
def _load_widgets(self):
box = Gtk.Box()
box2 = Gtk.Box()
box.set_orientation(Gtk.Orientation.VERTICAL)
box2.set_orientation(Gtk.Orientation.HORIZONTAL)
box.add(ButtonControls())
box.add(PathLabel())
box2.add(LeftBox())
box2.add(RightBox())
self.add(box)
self.add(box2)
self.add(LeftBox())
self.add(RightBox())