mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-19 16:31:21 +00:00
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:
parent
1ce2fb199d
commit
8c045dfec6
|
@ -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);
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@ private:
|
|||
enum
|
||||
{
|
||||
GridSpacingBase = 8,
|
||||
GridSpacingInc = 24,
|
||||
GridSpacingInc = 12,
|
||||
LeftToRightBase = 128,
|
||||
LeftToRightInc = 64,
|
||||
TopToBottomBase = 64,
|
||||
|
|
Loading…
Reference in a new issue