summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/fill-and-stroke.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/fill-and-stroke.cpp')
-rw-r--r--src/ui/dialog/fill-and-stroke.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/dialog/fill-and-stroke.cpp b/src/ui/dialog/fill-and-stroke.cpp
index 67de34731..5cc7c48e6 100644
--- a/src/ui/dialog/fill-and-stroke.cpp
+++ b/src/ui/dialog/fill-and-stroke.cpp
@@ -141,9 +141,10 @@ FillAndStroke::_layoutPageStrokePaint()
void
FillAndStroke::_layoutPageStrokeStyle()
{
- //Gtk::Widget *strokeStyleWdgt = manage(Glib::wrap(sp_stroke_style_line_widget_new()));
- //Gtk::Widget *strokeStyleWdgt = static_cast<Gtk::Widget *>(sp_stroke_style_line_widget_new());
strokeStyleWdgt = sp_stroke_style_line_widget_new();
+ strokeStyleWdgt->set_hexpand();
+ strokeStyleWdgt->set_halign(Gtk::ALIGN_CENTER);
+
_page_stroke_style->table().attach(*strokeStyleWdgt, 0, 0, 1, 1);
}