From 010e69fc36c95a83ab352f6eb7c6d2b181b103a4 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Fri, 25 Feb 2011 21:24:08 -0500 Subject: [PATCH] tidy up button bar on bottom of screen --- Window.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Window.py b/Window.py index 1d7d6af..3cf10e4 100644 --- a/Window.py +++ b/Window.py @@ -36,12 +36,14 @@ class Window: adjust_button = gtk.Button('Adjust') in_button = gtk.Button('In') out_button = gtk.Button('Out') + exit_button = gtk.Button('Exit') hbox = gtk.HBox() - hbox.pack_start(self.mark_label) - hbox.pack_start(adjust_button) - hbox.pack_start(in_button) - hbox.pack_start(out_button) + hbox.pack_start(self.mark_label, expand = True, fill = False) + hbox.pack_start(adjust_button, expand = False) + hbox.pack_start(in_button, expand = False) + hbox.pack_start(out_button, expand = False) + hbox.pack_start(exit_button, expand = False) vbox = gtk.VBox() vbox.pack_start(self.menubar)