Revision 788095

Go back to digest for 23rd March 2008

Other in KDE Base

Peter Penz committed changes in /trunk/KDE/kdebase/apps/dolphin/src:

QListView does not support having a margin for grids.

Originally it has been tried to bypass this by overwriting QListView::visualRect(), but this has some side effects (see #155378 and #155575). The clean approach is to return a proper size hint in the file item delegate.

Currently a custom item delegate has been made for Dolphin, but we'll discuss whether it makes sense providing this feature already in KFileItemDelegate...

File Changes

Added 2 files
  • /trunk/KDE/kdebase/apps/dolphin/src
  •   /dolphinfileitemdelegate.cpp
  •   /dolphinfileitemdelegate.h
Modified 5 files
  • /trunk/KDE/kdebase/apps/dolphin/src
  •   /CMakeLists.txt
  •   /dolphiniconsview.cpp
  •   /dolphiniconsview.h
  •   /dolphinview.cpp
  •   /dolphinview.h
7 files changed in total