diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2017-07-08 10:50:17 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2017-07-08 10:50:17 +0000 |
| commit | 501e9819954d2fb6dfdb831a71b8752b5afd1a2a (patch) | |
| tree | 3085e2219179dd023b9863f59be58772a74340d6 /src/ui/widget/selected-style.cpp | |
| parent | Merge branch 'master' of gitlab.com:inkscape/inkscape (diff) | |
| download | inkscape-501e9819954d2fb6dfdb831a71b8752b5afd1a2a.tar.gz inkscape-501e9819954d2fb6dfdb831a71b8752b5afd1a2a.zip | |
Fix Gtk alignment API
Diffstat (limited to 'src/ui/widget/selected-style.cpp')
| -rw-r--r-- | src/ui/widget/selected-style.cpp | 9 |
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); |
