From: Peter Penz Date: Mon, 19 Nov 2007 17:44:21 +0000 (+0000) Subject: Icons view: assure that the vertical spacing does not grow as fast as the horizontal... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/8c045dfec6ac0e8fd36dcba0c4a721269e0fe7d4?ds=inline 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 --- diff --git a/src/dolphiniconsview.cpp b/src/dolphiniconsview.cpp index 08ff9cf48..0da9eb279 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 ebca3b7b0..c61e7a923 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,