def create_visual_elements(self):
# create visual elements
- self.vbox = gtk.VBox(False, 15)
+ self.vbox = gtk.VBox(False, 12)
- self.progress_box = gtk.HBox(False, 5)
+ self.progress_box = gtk.HBox(False, 6)
self.progress_bar = HobProgressBar()
self.progress_box.pack_start(self.progress_bar, expand=True, fill=True)
self.stop_button = gtk.LinkButton("Stop the build process", "Stop")
self.scrolled_view.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
self.scrolled_view.add(self.build_tv)
- self.button_box = gtk.HBox(False, 5)
+ self.button_box = gtk.HBox(False, 6)
self.back_button = gtk.LinkButton("Go back to Image Configuration screen", "<< Back to image configuration")
self.back_button.connect("clicked", self.back_button_clicked_cb)
self.button_box.pack_start(self.back_button, expand=False, fill=False)
return label
def gen_spinner_widget(self, content, lower, upper, tooltip=""):
- hbox = gtk.HBox(False, 10)
+ hbox = gtk.HBox(False, 12)
adjust = gtk.Adjustment(value=content, lower=lower, upper=upper, step_incr=1)
spinner = gtk.SpinButton(adjustment=adjust, climb_rate=1, digits=0)
return hbox, spinner
def gen_combo_widget(self, curr_item, all_item, tooltip=""):
- hbox = gtk.HBox(False, 10)
+ hbox = gtk.HBox(False, 12)
combo = gtk.combo_box_new_text()
hbox.pack_start(combo, expand=False, fill=False)
dialog.destroy()
def gen_entry_widget(self, split_model, content, parent, tooltip=""):
- hbox = gtk.HBox(False, 10)
+ hbox = gtk.HBox(False, 12)
entry = gtk.Entry()
entry.set_text(content)
model.set(it, column, val)
def gen_pkgfmt_widget(self, curr_package_format, all_package_format, tooltip=""):
- pkgfmt_hbox = gtk.HBox(False, 15)
+ pkgfmt_hbox = gtk.HBox(False, 12)
pkgfmt_store = gtk.ListStore(int, str, gobject.TYPE_BOOLEAN)
for format in curr_package_format.split():
model.remove(iter)
def gen_editable_settings(self, setting, tooltip=""):
- setting_hbox = gtk.HBox(False, 10)
+ setting_hbox = gtk.HBox(False, 12)
- vbox = gtk.VBox(False, 10)
+ vbox = gtk.VBox(False, 12)
setting_hbox.pack_start(vbox, expand=True, fill=True)
setting_store = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING)
vbox.pack_start(scroll, expand=True, fill=True)
# some buttons
- hbox = gtk.HBox(True, 4)
+ hbox = gtk.HBox(True, 6)
vbox.pack_start(hbox, False, False)
button = gtk.Button(stock=gtk.STOCK_ADD)