summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4ffc73d)
raw | patch | inline | side by side (parent: 4ffc73d)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 27 May 2006 17:24:27 +0000 (17:24 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Sat, 27 May 2006 17:24:27 +0000 (17:24 +0000) |
src/extension/parameter.cpp | patch | blob | history |
index b3b808830868828095564b4878629883b0fb56e6..a034022d9f8a5b2413626569ffa86d35ad516010 100644 (file)
Gtk::Widget *
ParamFloat::get_widget (SPDocument * doc, Inkscape::XML::Node * node)
{
- Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox());
+ Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox(false, 4));
Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_LEFT));
label->show();
Gtk::Widget *
ParamInt::get_widget (SPDocument * doc, Inkscape::XML::Node * node)
{
- Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox());
+ Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox(false, 4));
Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_LEFT));
label->show();
Gtk::Widget *
ParamBool::get_widget (SPDocument * doc, Inkscape::XML::Node * node)
{
- Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox());
+ Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox(false, 4));
Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_LEFT));
label->show();
Gtk::Widget *
ParamString::get_widget (SPDocument * doc, Inkscape::XML::Node * node)
{
- Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox());
+ Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox(false, 4));
Gtk::Label * label = Gtk::manage(new Gtk::Label(_(_text), Gtk::ALIGN_LEFT));
label->show();
- hbox->pack_start(*label, true, true);
+ hbox->pack_start(*label, false, false);
ParamStringEntry * textbox = new ParamStringEntry(this, doc, node);
textbox->show();
- hbox->pack_start(*textbox, false, false);
+ hbox->pack_start(*textbox, true, true);
hbox->show();
label->set_line_wrap();
label->show();
- Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox());
+ Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox(false, 4));
hbox->pack_start(*label, true, true, 5);
hbox->show();