summaryrefslogtreecommitdiffstats
path: root/src/extension/param/notebook.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/extension/param/notebook.cpp')
-rw-r--r--src/extension/param/notebook.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/extension/param/notebook.cpp b/src/extension/param/notebook.cpp
index 8ef48926e..de86d1005 100644
--- a/src/extension/param/notebook.cpp
+++ b/src/extension/param/notebook.cpp
@@ -223,7 +223,11 @@ Gtk::Widget * ParamNotebookPage::get_widget(SPDocument * doc, Inkscape::XML::Nod
Gtk::Widget * widg = param->get_widget(doc, node, changeSignal);
if (widg) {
int indent = param->get_indent();
+#if GTK_CHECK_VERSION(3,12,0)
+ widg->set_margin_start(indent * Parameter::GUI_INDENTATION);
+#else
widg->set_margin_left(indent * Parameter::GUI_INDENTATION);
+#endif
vbox->pack_start(*widg, false, false, 0);
gchar const * tip = param->get_tooltip();