From: Rafael Fernández López Date: Wed, 26 Sep 2007 02:07:30 +0000 (+0000) Subject: This fixes the problem of the "hidden filename corner case" by setting the column... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/1b0a498799725880aa7e25ae42593e364e04a377 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 --- diff --git a/src/dolphindetailsview.cpp b/src/dolphindetailsview.cpp index b7bb37d07..8ffa65e8f 100644 --- a/src/dolphindetailsview.cpp +++ b/src/dolphindetailsview.cpp @@ -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();