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/widgets/stroke-style.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/widgets/stroke-style.cpp') diff --git a/src/widgets/stroke-style.cpp b/src/widgets/stroke-style.cpp index 7dee458f4..46454d508 100644 --- a/src/widgets/stroke-style.cpp +++ b/src/widgets/stroke-style.cpp @@ -140,7 +140,7 @@ Gtk::Widget *Inkscape::Widgets::createStrokeStyleWidget( ) } StrokeStyle::StrokeStyle() : - Gtk::VBox(), + Gtk::Box(), miterLimitSpin(), widthSpin(), unitSelector(), @@ -160,16 +160,15 @@ StrokeStyle::StrokeStyle() : endMarkerConn(), _old_unit(nullptr) { - Gtk::HBox *hb; - Gtk::HBox *f = new Gtk::HBox(false, 0); - f->show(); - add(*f); table = new Gtk::Grid(); table->set_border_width(4); table->set_row_spacing(4); + table->set_hexpand(false); + table->set_halign(Gtk::ALIGN_CENTER); table->show(); - f->add(*table); + add(*table); + Gtk::HBox *hb; gint i = 0; //spw_label(t, C_("Stroke width", "_Width:"), 0, i); -- cgit v1.2.3