File Dialog: set path label to left (start) ellipse mode

This ensures the important part of the file path - the end - is always visible.
This commit is contained in:
Charles Dang 2017-03-23 22:01:37 +11:00
parent db654cc0dc
commit aeaf44da03

View file

@ -190,6 +190,8 @@ void file_dialog::pre_show(window& window)
listbox& bookmarks_bar = find_widget<listbox>(&window, "bookmarks", false);
find_widget<styled_widget>(&window, "current_dir", false).set_text_ellipse_mode(PANGO_ELLIPSIZE_START);
//
// Push hard-coded bookmarks.
//