summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/selected-style.cpp
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-07-09 12:42:10 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-07-09 12:42:10 +0000
commit241554b7ad311b5868ba284c7a4e6a410432b9bd (patch)
tree8bf6fed572d27e9b97ca60b90ae1684ba4856eeb /src/ui/widget/selected-style.cpp
parentUse .xml when exporting shortcuts by default (diff)
parentShortcuts: Fix for 7d248fbba5b0c24d9a24cda8c3f2e79f96395553 (is_user_set was ... (diff)
downloadinkscape-241554b7ad311b5868ba284c7a4e6a410432b9bd.tar.gz
inkscape-241554b7ad311b5868ba284c7a4e6a410432b9bd.zip
Merge branch 'master' into shortcuts
Diffstat (limited to 'src/ui/widget/selected-style.cpp')
-rw-r--r--src/ui/widget/selected-style.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/ui/widget/selected-style.cpp b/src/ui/widget/selected-style.cpp
index 65d68195c..8ea1e530f 100644
--- a/src/ui/widget/selected-style.cpp
+++ b/src/ui/widget/selected-style.cpp
@@ -146,11 +146,14 @@ SelectedStyle::SelectedStyle(bool /*layout*/)
_drop[0] = _drop[1] = 0;
_dropEnabled[0] = _dropEnabled[1] = false;
- _fill_label.set_alignment(0.0, 0.5);
+ _fill_label.set_halign(Gtk::ALIGN_START);
+ _fill_label.set_valign(Gtk::ALIGN_CENTER);
_fill_label.set_padding(0, 0);
- _stroke_label.set_alignment(0.0, 0.5);
+ _stroke_label.set_halign(Gtk::ALIGN_START);
+ _stroke_label.set_valign(Gtk::ALIGN_CENTER);
_stroke_label.set_padding(0, 0);
- _opacity_label.set_alignment(0.0, 0.5);
+ _opacity_label.set_halign(Gtk::ALIGN_START);
+ _opacity_label.set_valign(Gtk::ALIGN_CENTER);
_opacity_label.set_padding(0, 0);
_table.set_column_spacing(2);