[Folder View] implement a minimum width for icon view to ensure that labels are…

Authored by ngraham on Nov 15 2018, 3:36 PM.

Description

[Folder View] implement a minimum width for icon view to ensure that labels are never rendered useless

Summary:
Currently with Folder-View-on-the-desktop, items' labels become illegibe when the icon size is very small.

This patch implements a minimum width when using on-the-desktop icon view to make sure that the label is never uselessly short when using very small icons.

BUG: 379432
FIXED-IN: 5.12.8

Test Plan:
Smallest size, before:


Smallest size, after:

Equal padding on either side of the container itself still works:

There is no change for sizes corresponding to the fourth tick on the slider and beyond

Reviewers: Plasma, VDG, hein

Reviewed By: Plasma, hein

Subscribers: abetts, broulik, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D16901

Details