add separator vbox
This commit is contained in:
@@ -210,6 +210,7 @@ def main():
|
|||||||
|
|
||||||
box = Gtk.Box.new(Gtk.Orientation.VERTICAL, 6)
|
box = Gtk.Box.new(Gtk.Orientation.VERTICAL, 6)
|
||||||
box.set_property("margin", 6)
|
box.set_property("margin", 6)
|
||||||
|
box.set_property("vexpand", True)
|
||||||
win.add(box)
|
win.add(box)
|
||||||
|
|
||||||
wrapper = Gtk.Box.new(Gtk.Orientation.HORIZONTAL, 0)
|
wrapper = Gtk.Box.new(Gtk.Orientation.HORIZONTAL, 0)
|
||||||
@@ -269,6 +270,10 @@ def main():
|
|||||||
# scrolled_window.connect("scroll-event", on_scroll)
|
# scrolled_window.connect("scroll-event", on_scroll)
|
||||||
box.pack_start(scrolled_window, True, True, 0)
|
box.pack_start(scrolled_window, True, True, 0)
|
||||||
|
|
||||||
|
dist = Gtk.Box.new(Gtk.Orientation.VERTICAL, 0)
|
||||||
|
dist.set_property("vexpand", True)
|
||||||
|
box.pack_start(dist, True, True, 0)
|
||||||
|
|
||||||
hbox = Gtk.Box.new(Gtk.Orientation.HORIZONTAL, 12)
|
hbox = Gtk.Box.new(Gtk.Orientation.HORIZONTAL, 12)
|
||||||
box.pack_start(hbox, False, False, 0)
|
box.pack_start(hbox, False, False, 0)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user