Code

r10982@tres: ted | 2006-02-18 22:08:28 -0800
authorgouldtj <gouldtj@users.sourceforge.net>
Wed, 29 Mar 2006 05:41:26 +0000 (05:41 +0000)
committergouldtj <gouldtj@users.sourceforge.net>
Wed, 29 Mar 2006 05:41:26 +0000 (05:41 +0000)
 Adding in a little bit of horizontal spacing.  Cleans things up a touch.

src/extension/prefdialog.cpp

index fea52d4ec52c3c0848e52b195f50c5b6c3ae33b4..0006874f1cbebb3ae0e1986e5fafd26b35659e5f 100644 (file)
@@ -21,7 +21,10 @@ namespace Extension {
 PrefDialog::PrefDialog (Glib::ustring name, gchar const * help, Gtk::Widget * controls) :
     Gtk::Dialog::Dialog(name + _(" Preferences"), true, true), _help(help), _name(name)
 {
-    this->get_vbox()->pack_start(*controls, true, true, 5);
+    Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox());
+    hbox->pack_start(*controls, true, true, 6);
+    hbox->show();
+    this->get_vbox()->pack_start(*hbox, true, true, 6);
 
     Gtk::Button * help_button = add_button(Gtk::Stock::HELP, Gtk::RESPONSE_HELP);
     if (_help == NULL)