D17461: [KDirOperator] Don't squeeze Name column when there isn't enough horizontal space

Nathaniel Graham noreply at phabricator.kde.org
Sun Dec 9 21:07:57 GMT 2018


ngraham added a comment.


  A slightly nicer solution would appear to be to keep column 0 using `QHeaderView::Stretch` like it already is, but give only that column a minimum size equal to the longest item. That way the name column would dynamically expand as the view was enlarged which keeps the other columns aligned to the right side, but would not compress as the view shrinks. Unfortunately this doesn't appear to be easily possible: https://bugreports.qt.io/browse/QTBUG-1248

REPOSITORY
  R241 KIO

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

To: ngraham, #vdg, #frameworks
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181209/de255ca4/attachment.html>


More information about the Kde-frameworks-devel mailing list