From 8c045dfec6ac0e8fd36dcba0c4a721269e0fe7d4 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Mon, 19 Nov 2007 17:44:21 +0000 Subject: [PATCH] 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 --- src/dolphiniconsview.cpp | 2 +- src/iconsviewsettingspage.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp index 08ff9cf488..0da9eb279a 100644 --- a/src/dolphiniconsview.cpp +++ b/src/dolphiniconsview.cpp @@ -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); diff --git a/src/iconsviewsettingspage.h b/src/iconsviewsettingspage.h index ebca3b7b04..c61e7a923f 100644 --- a/src/iconsviewsettingspage.h +++ b/src/iconsviewsettingspage.h @@ -72,7 +72,7 @@ private: enum { GridSpacingBase = 8, - GridSpacingInc = 24, + GridSpacingInc = 12, LeftToRightBase = 128, LeftToRightInc = 64, TopToBottomBase = 64,