Middle-elide file/folder labels so the extension is always visible
Summary:
This ensures that the filename extension is always visible, and also is just a
nicer way to elide file and folder names in general.
BUG: 404955
FIXED-IN: 19.12.0
Test Plan:
Details view:
Icons view with limited label height:
Reviewers: Dolphin, VDG, elvisangelaccio, GB_2
Reviewed By: Dolphin, VDG, elvisangelaccio, GB_2
Subscribers: GB_2, ndavis, rooty, elvisangelaccio, kfm-devel
Tags: Dolphin
Differential Revision: https://phabricator.kde.org/D19471