mirror of
https://invent.kde.org/system/dolphin
synced 2024-11-05 18:47:12 +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
1 changed files with 2 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue