summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/fill-and-stroke.cpp
diff options
context:
space:
mode:
authorPatrick Storz <eduard.braun2@gmx.de>2019-03-21 22:48:35 +0000
committerPatrick Storz <eduard.braun2@gmx.de>2019-03-22 17:37:54 +0000
commit750166c03c882fc7ef6ac45fdea32d34789ff1a4 (patch)
treeb3c8a8c307ee2a3c445f079c667a77b468adb76c /src/ui/dialog/fill-and-stroke.cpp
parentDocument Properties: General UI cleanup (diff)
downloadinkscape-750166c03c882fc7ef6ac45fdea32d34789ff1a4.tar.gz
inkscape-750166c03c882fc7ef6ac45fdea32d34789ff1a4.zip
Realign labels in "Fill and Stroke" dialog
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);
}