cfeck added inline comments.

INLINE COMMENTS

> kdiroperator.cpp:2590
> +        // Set a minimum width to make enough room for a label when the 
> icons are tiny
> +        const QSize itemSize = QSize(qMax(120, width), height);
> +        view->setGridSize(itemSize);

If you need a minimum width to accomodate a minimum number of characters, you 
could use a value proportional to font size, e.g. "8 * metrics.height()" will 
give you room for about 15 characters (they are usually twice as tall as wide).

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D12149

To: ngraham, #frameworks, #vdg, rkflx
Cc: cfeck, alexeymin, michaelh, ngraham, bruns

Reply via email to