summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/dash-selector.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/widget/dash-selector.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/widget/dash-selector.cpp')
-rw-r--r--src/ui/widget/dash-selector.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ui/widget/dash-selector.cpp b/src/ui/widget/dash-selector.cpp
index ea5cc57d2..897b964e4 100644
--- a/src/ui/widget/dash-selector.cpp
+++ b/src/ui/widget/dash-selector.cpp
@@ -53,6 +53,8 @@ DashSelector::DashSelector()
preview_height(16),
preview_lineheight(2)
{
+ set_spacing(4);
+
// TODO: find something more sensible here!!
init_dashes();
@@ -65,7 +67,8 @@ DashSelector::DashSelector()
dash_combo.show();
dash_combo.signal_changed().connect( sigc::mem_fun(*this, &DashSelector::on_selection) );
- this->pack_start(dash_combo, false, false, 0);
+ this->pack_start(dash_combo, true, true, 0);
+
offset = Gtk::Adjustment::create(0.0, 0.0, 10.0, 0.1, 1.0, 0.0);
offset->signal_value_changed().connect(sigc::mem_fun(*this, &DashSelector::offset_value_changed));
auto sb = new Inkscape::UI::Widget::SpinButton(offset, 0.1, 2);
@@ -75,7 +78,6 @@ DashSelector::DashSelector()
this->pack_start(*sb, false, false, 0);
-
int np=0;
while (dashes[np]){ np++;}
for (int i = 0; i<np-1; i++) { // all but the custom one go this way