diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2017-10-22 14:57:27 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2017-10-22 14:57:27 +0000 |
| commit | bd536de52298231e37a37ad0509c27dbd6615728 (patch) | |
| tree | 580e006a973397f778bb09ad68917dc0cf0027c5 /src/ui/widget/preferences-widget.cpp | |
| parent | Add preference to load additional fonts from custom directories (diff) | |
| download | inkscape-bd536de52298231e37a37ad0509c27dbd6615728.tar.gz inkscape-bd536de52298231e37a37ad0509c27dbd6615728.zip | |
Preferences: fix inputs not properly expanding horizontally
(gtk3 issue)
Diffstat (limited to 'src/ui/widget/preferences-widget.cpp')
| -rw-r--r-- | src/ui/widget/preferences-widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget/preferences-widget.cpp b/src/ui/widget/preferences-widget.cpp index e93b83db4..8b8e663a5 100644 --- a/src/ui/widget/preferences-widget.cpp +++ b/src/ui/widget/preferences-widget.cpp @@ -79,6 +79,7 @@ void DialogPage::add_line(bool indent, auto hb = Gtk::manage(new Gtk::Box()); hb->set_spacing(12); + hb->set_hexpand(true); hb->pack_start(widget, expand_widget, expand_widget); // Pack an additional widget into a box with the widget if desired @@ -865,7 +866,6 @@ void PrefMultiEntry::init(Glib::ustring const &prefs_path, int height) // TODO: Figure out if there's a way to specify height in lines instead of px // and how to obtain a reasonable default width if 'expand_widget' is not used set_size_request(100, height); - set_hexpand(true); set_policy(Gtk::POLICY_AUTOMATIC, Gtk::POLICY_AUTOMATIC); set_shadow_type(Gtk::SHADOW_IN); |
