diff options
| author | Patrick Storz <eduard.braun2@gmx.de> | 2019-03-21 22:48:35 +0000 |
|---|---|---|
| committer | Patrick Storz <eduard.braun2@gmx.de> | 2019-03-22 17:37:54 +0000 |
| commit | 750166c03c882fc7ef6ac45fdea32d34789ff1a4 (patch) | |
| tree | b3c8a8c307ee2a3c445f079c667a77b468adb76c /src/widgets/stroke-style.cpp | |
| parent | Document Properties: General UI cleanup (diff) | |
| download | inkscape-750166c03c882fc7ef6ac45fdea32d34789ff1a4.tar.gz inkscape-750166c03c882fc7ef6ac45fdea32d34789ff1a4.zip | |
Realign labels in "Fill and Stroke" dialog
Diffstat (limited to 'src/widgets/stroke-style.cpp')
| -rw-r--r-- | src/widgets/stroke-style.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
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); |
