mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 08:21:22 +00:00
This fixes the problem of the "hidden filename corner case" by setting the column to the width of its contents. Probably is a poor solution...
CCMAIL: peter.penz@gmx.at svn path=/trunk/KDE/kdebase/apps/; revision=717081
This commit is contained in:
parent
1e1e1b6c86
commit
1b0a498799
|
@ -117,7 +117,8 @@ bool DolphinDetailsView::event(QEvent* event)
|
|||
QHeaderView* headerView = header();
|
||||
headerView->setStretchLastSection(false);
|
||||
headerView->setResizeMode(QHeaderView::ResizeToContents);
|
||||
headerView->setResizeMode(0, QHeaderView::Stretch);
|
||||
headerView->setMinimumSectionSize(-1);
|
||||
headerView->setDefaultSectionSize(viewport()->width());
|
||||
|
||||
// hide columns if this is indicated by the settings
|
||||
const DetailsModeSettings* settings = DolphinSettings::instance().detailsModeSettings();
|
||||
|
|
Loading…
Reference in a new issue