diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2017-02-13 01:46:19 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2017-02-13 01:46:19 +0000 |
| commit | a2e57d792590665163dd07eb5e926017e40ccb90 (patch) | |
| tree | dba1e536d7fef490aaf6a7c1d0588e6fb9a5a74e /src/extension/param/int.cpp | |
| parent | Extensions: Make "int" and "float" parameters specifying 'appearance="full"'e... (diff) | |
| download | inkscape-a2e57d792590665163dd07eb5e926017e40ccb90.tar.gz inkscape-a2e57d792590665163dd07eb5e926017e40ccb90.zip | |
Extensions: Work around gtk3 width/height calculation bug for long labels
Also use constants for most dimensions so they can easily be chaned in future.
(bzr r15511)
Diffstat (limited to 'src/extension/param/int.cpp')
| -rw-r--r-- | src/extension/param/int.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/extension/param/int.cpp b/src/extension/param/int.cpp index ba51df2a3..538ddc08d 100644 --- a/src/extension/param/int.cpp +++ b/src/extension/param/int.cpp @@ -155,7 +155,7 @@ ParamInt::get_widget (SPDocument * doc, Inkscape::XML::Node * node, sigc::signal return NULL; } - Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox(false, 4)); + Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox(false, Parameter::GUI_PARAM_WIDGETS_SPACING)); auto pia = new ParamIntAdjustment(this, doc, node, changeSignal); Glib::RefPtr<Gtk::Adjustment> fadjust(pia); |
