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/prefdialog.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/prefdialog.cpp')
| -rw-r--r-- | src/extension/prefdialog.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/extension/prefdialog.cpp b/src/extension/prefdialog.cpp index e98d88b2d..2bdbb081e 100644 --- a/src/extension/prefdialog.cpp +++ b/src/extension/prefdialog.cpp @@ -50,6 +50,8 @@ PrefDialog::PrefDialog (Glib::ustring name, gchar const * help, Gtk::Widget * co _effect(effect), _exEnv(NULL) { + this->set_default_size(0,0); // we want the window to be as small as possible instead of clobbering up space + Gtk::HBox * hbox = Gtk::manage(new Gtk::HBox()); if (controls == NULL) { if (_effect == NULL) { |
