From 5be042bcd42669c302a93597ffb52e8cb72a5b37 Mon Sep 17 00:00:00 2001 From: Alberto Griggio Date: Tue, 24 Oct 2017 12:00:38 +0200 Subject: [PATCH] use ALIGN_START for the label of MyFileChooserButton --- rtgui/guiutils.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtgui/guiutils.cc b/rtgui/guiutils.cc index 99817204d..c62c94f1a 100644 --- a/rtgui/guiutils.cc +++ b/rtgui/guiutils.cc @@ -1171,13 +1171,13 @@ bool MyHScale::on_key_press_event (GdkEventKey* event) MyFileChooserButton::MyFileChooserButton(const Glib::ustring &title, Gtk::FileChooserAction action): title_(title), action_(action), - lbl_(""), + lbl_("", Gtk::ALIGN_START), show_hidden_(false) { lbl_.set_ellipsize(Pango::ELLIPSIZE_MIDDLE); lbl_.set_justify(Gtk::JUSTIFY_LEFT); set_none(); - box_.pack_start(lbl_, true, false); + box_.pack_start(lbl_, true, true); Gtk::Image *img = Gtk::manage(new Gtk::Image()); img->set_from_icon_name("document-open", Gtk::ICON_SIZE_BUTTON); box_.pack_start(*Gtk::manage(new Gtk::VSeparator()), false, false, 5);