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:
Rafael Fernández López 2007-09-26 02:07:30 +00:00
parent 1e1e1b6c86
commit 1b0a498799

View file

@ -117,7 +117,8 @@ bool DolphinDetailsView::event(QEvent* event)
QHeaderView* headerView = header(); QHeaderView* headerView = header();
headerView->setStretchLastSection(false); headerView->setStretchLastSection(false);
headerView->setResizeMode(QHeaderView::ResizeToContents); 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 // hide columns if this is indicated by the settings
const DetailsModeSettings* settings = DolphinSettings::instance().detailsModeSettings(); const DetailsModeSettings* settings = DolphinSettings::instance().detailsModeSettings();