┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-11-19 17:44:21 +0000
committerPeter Penz <[email protected]>2007-11-19 17:44:21 +0000
commit8c045dfec6ac0e8fd36dcba0c4a721269e0fe7d4 (patch)
tree9cf6eb997a7c9d40b62b76dc300a7cf4331635c5
parent1ce2fb199db7bdf5baf05b61e4e58c549404b4df (diff)
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
-rw-r--r--src/dolphiniconsview.cpp2
-rw-r--r--src/iconsviewsettingspage.h2
2 files changed, 2 insertions, 2 deletions
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,