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/ui/widget/dash-selector.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/ui/widget/dash-selector.cpp')
| -rw-r--r-- | src/ui/widget/dash-selector.cpp | 6 |
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 |
