From 750166c03c882fc7ef6ac45fdea32d34789ff1a4 Mon Sep 17 00:00:00 2001 From: Patrick Storz Date: Thu, 21 Mar 2019 23:48:35 +0100 Subject: Realign labels in "Fill and Stroke" dialog --- src/ui/dialog/fill-and-stroke.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/ui/dialog/fill-and-stroke.cpp') 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(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); } -- cgit v1.2.3