use the fixed resizing mode (it is assured that each column stays readable)

svn path=/trunk/KDE/kdebase/apps/; revision=717263
This commit is contained in:
Peter Penz 2007-09-26 13:34:28 +00:00
parent 89a12482f7
commit 3713f1991a

View file

@ -309,7 +309,7 @@ void DolphinDetailsView::resizeEvent(QResizeEvent* event)
if (useFixedWidth) {
// the current width of the name-column is too small, hence
// use a fixed size
headerView->setResizeMode(QHeaderView::Interactive);
headerView->setResizeMode(QHeaderView::Fixed);
headerView->setResizeMode(0, QHeaderView::Fixed);
headerView->resizeSection(KDirModel::Name, minWidth);
} else if (headerView->resizeMode(0) != QHeaderView::Stretch) {