ngraham added a comment.
In D18380#400896 <https://phabricator.kde.org/D18380#400896>, @markg wrote: > In QHeaderView code, what we want is "QHeaderView::Interactive" [1] followed by QHeaderView::resizeSection [2]. Exactly as [1] described! QHeaderView merely lacks a convenience function for this, that is what we have to implement! Using that alone results in a visual and functional regression of the original problem we were trying to fix (that file dialogs don't have a sensible default view): F6570515: Regression.png <https://phabricator.kde.org/F6570515> If we go with this route, I would want to make sure we preserve the current behavior of other columns being right-aligned, and also make sure that the Name column has a good default width. If we can ensure that, I'm all for it! REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D18380 To: rjvbb, ngraham, #frameworks, #dolphin, apol, dfaure, ahartmetz, markg Cc: markg, cfeck, dhaumann, kwrite-devel, kde-frameworks-devel, michaelh, ngraham, bruns