diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2017-07-09 16:14:39 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2017-07-09 16:14:39 +0000 |
| commit | 558941d03a4a9fe22de92952334f2ed3724e93f5 (patch) | |
| tree | 8e52a2ce7391effebfe630a93563a83eba72b750 /src/ui/widget/labelled.cpp | |
| parent | Drop GdkWindow update stuff. Now handled automatically (diff) | |
| download | inkscape-558941d03a4a9fe22de92952334f2ed3724e93f5.tar.gz inkscape-558941d03a4a9fe22de92952334f2ed3724e93f5.zip | |
Update for Gtk alignment changes
Diffstat (limited to 'src/ui/widget/labelled.cpp')
| -rw-r--r-- | src/ui/widget/labelled.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widget/labelled.cpp b/src/ui/widget/labelled.cpp index d3dc6210f..003b64d53 100644 --- a/src/ui/widget/labelled.cpp +++ b/src/ui/widget/labelled.cpp @@ -27,8 +27,8 @@ Labelled::Labelled(Glib::ustring const &label, Glib::ustring const &tooltip, Glib::ustring const &icon, bool mnemonic) : _widget(widget), - _label(new Gtk::Label(label, 1.0, 0.5, mnemonic)), - _suffix(new Gtk::Label(suffix, 0.0, 0.5)) + _label(new Gtk::Label(label, Gtk::ALIGN_END, Gtk::ALIGN_CENTER, mnemonic)), + _suffix(new Gtk::Label(suffix, Gtk::ALIGN_START)) { g_assert(g_utf8_validate(icon.c_str(), -1, NULL)); if (icon != "") { |
