tidy up button bar on bottom of screen

This commit is contained in:
Josh Holtrop 2011-02-25 21:24:08 -05:00
parent 7e2ffb3e24
commit 010e69fc36

View File

@ -36,12 +36,14 @@ class Window:
adjust_button = gtk.Button('Adjust') adjust_button = gtk.Button('Adjust')
in_button = gtk.Button('In') in_button = gtk.Button('In')
out_button = gtk.Button('Out') out_button = gtk.Button('Out')
exit_button = gtk.Button('Exit')
hbox = gtk.HBox() hbox = gtk.HBox()
hbox.pack_start(self.mark_label) hbox.pack_start(self.mark_label, expand = True, fill = False)
hbox.pack_start(adjust_button) hbox.pack_start(adjust_button, expand = False)
hbox.pack_start(in_button) hbox.pack_start(in_button, expand = False)
hbox.pack_start(out_button) hbox.pack_start(out_button, expand = False)
hbox.pack_start(exit_button, expand = False)
vbox = gtk.VBox() vbox = gtk.VBox()
vbox.pack_start(self.menubar) vbox.pack_start(self.menubar)