Home page of this blog

Thursday, March 5, 2009

Mitter with not so big Add button

I modified mitter code to bring the Add button look in sync with text box, modified mitterlib/ui/ui_pygtk.py and the code snippet below of function create_update_box(self): ... update_button = gtk.Button(stock=gtk.STOCK_ADD) update_button.connect('clicked', self.update_status) filler1 = gtk.Label() filler_box = gtk.VBox(True, 0) filler_box.pack_start(filler1) filler_box.pack_start(update_button) update_box = gtk.HBox(False, 0) update_box.pack_start(text_area, expand=True, fill=True, padding=0) update_box.pack_start(filler_box, expand=False, fill=False, padding=0)

No comments:

Post a Comment