change StatusBar to a VBox of individual status elements
This commit is contained in:
parent
4a76120fce
commit
8066327ad9
@ -44,7 +44,14 @@ class Window:
|
||||
ttb.connect('toggled', self.mode_toggle_event)
|
||||
self.toolbar.insert(ttb, -1)
|
||||
|
||||
self.statusbar = gtk.Statusbar()
|
||||
self.status_lbl = gtk.Label()
|
||||
self.status_lbl.set_alignment(0.0, 0.5)
|
||||
self.sketch_status_icon = gtk.Label()
|
||||
self.sketch_status_text = gtk.Label()
|
||||
self.statusbar = gtk.HBox()
|
||||
self.statusbar.pack_start(self.status_lbl, expand = True)
|
||||
self.statusbar.pack_start(self.sketch_status_icon, expand = False)
|
||||
self.statusbar.pack_start(self.sketch_status_text, expand = False)
|
||||
|
||||
vbox = gtk.VBox()
|
||||
vbox.pack_start(self.toolbar, expand = False)
|
||||
|
Loading…
x
Reference in New Issue
Block a user