summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/labelled.cpp
diff options
context:
space:
mode:
authorAlexander Valavanis <valavanisalex@gmail.com>2017-07-09 16:14:39 +0000
committerAlexander Valavanis <valavanisalex@gmail.com>2017-07-09 16:14:39 +0000
commit558941d03a4a9fe22de92952334f2ed3724e93f5 (patch)
tree8e52a2ce7391effebfe630a93563a83eba72b750 /src/ui/widget/labelled.cpp
parentDrop GdkWindow update stuff. Now handled automatically (diff)
downloadinkscape-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.cpp4
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 != "") {