summaryrefslogtreecommitdiffstats
path: root/src/extension/prefdialog/widget-box.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/extension/prefdialog/widget-box.cpp')
-rw-r--r--src/extension/prefdialog/widget-box.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/extension/prefdialog/widget-box.cpp b/src/extension/prefdialog/widget-box.cpp
index 2c9d24f4a..9fd75e19a 100644
--- a/src/extension/prefdialog/widget-box.cpp
+++ b/src/extension/prefdialog/widget-box.cpp
@@ -96,7 +96,8 @@ Gtk::Widget *WidgetBox::get_widget(sigc::signal<void> *changeSignal)
if (child_widget) {
int indent = child->get_indent();
child_widget->set_margin_start(indent * GUI_INDENTATION);
- box->pack_start(*child_widget, false, false, 0);
+ box->pack_start(*child_widget, false, true, 0); // fill=true does not have an effect here, but allows the
+ // child to choose to expand by setting hexpand/vexpand
const char *tooltip = child->get_tooltip();
if (tooltip) {