diff options
| author | Peter Penz <[email protected]> | 2007-05-10 20:29:10 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-05-10 20:29:10 +0000 |
| commit | d03b27f28850e25d087f946e3a5c99b21c76f359 (patch) | |
| tree | 27cf913e6d10347df34f7172f4a128bd6246835b /src/dolphinview.cpp | |
| parent | 6ab84fbd6129422dfa59c095087c7ceb1a9e1e50 (diff) | |
layout improvements in the icons view:
* do a text wrapping if the number of lines is > 1 (TODO: bugfix of KFileItemDelegate necessary, currently the text might overlap with the icon)
* increase the height for the text area if an additional information like type, date, ... is shown
svn path=/trunk/KDE/kdebase/apps/; revision=663320
Diffstat (limited to 'src/dolphinview.cpp')
| -rw-r--r-- | src/dolphinview.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dolphinview.cpp b/src/dolphinview.cpp index 84b765d4d..4188959f1 100644 --- a/src/dolphinview.cpp +++ b/src/dolphinview.cpp @@ -460,6 +460,7 @@ void DolphinView::setAdditionalInfo(KFileItemDelegate::AdditionalInformation inf ViewProperties props(m_urlNavigator->url()); props.setAdditionalInfo(info); + m_controller->setShowAdditionalInfo(info != KFileItemDelegate::NoInformation); m_fileItemDelegate->setAdditionalInformation(info); emit additionalInfoChanged(info); @@ -701,8 +702,8 @@ void DolphinView::changeDirectory(const KUrl& url) KFileItemDelegate::AdditionalInformation info = props.additionalInfo(); if (info != m_fileItemDelegate->additionalInformation()) { + m_controller->setShowAdditionalInfo(info != KFileItemDelegate::NoInformation); m_fileItemDelegate->setAdditionalInformation(info); - emit additionalInfoChanged(info); } |
