Icons view: assure that the vertical spacing does not grow as fast as the horizontal spacing. For the default settings this means that the viewport can now be reached easier than before, while not wasting too much vertical space.

svn path=/trunk/KDE/kdebase/apps/; revision=738783
This commit is contained in:
Peter Penz 2007-11-19 17:44:21 +00:00
parent 1ce2fb199d
commit 8c045dfec6
2 changed files with 2 additions and 2 deletions

View file

@ -415,7 +415,7 @@ void DolphinIconsView::updateGridSize(bool showPreview, int additionalInfoCount)
}
const int spacing = settings->gridSpacing();
setGridSize(QSize(itemWidth + spacing, itemHeight + spacing));
setGridSize(QSize(itemWidth + spacing * 2, itemHeight + spacing));
m_itemSize = QSize(itemWidth, itemHeight);

View file

@ -72,7 +72,7 @@ private:
enum
{
GridSpacingBase = 8,
GridSpacingInc = 24,
GridSpacingInc = 12,
LeftToRightBase = 128,
LeftToRightInc = 64,
TopToBottomBase = 64,