diff options
| author | Peter Penz <[email protected]> | 2012-02-04 22:14:53 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-02-04 22:22:19 +0100 |
| commit | 72af3125a824722d9875d202dd156cd3f7d8fc46 (patch) | |
| tree | cac6d24b77d463f264d6b82478fde44b89a38081 /src/views | |
| parent | a2a78c98fc9737fcd7a126790f88b40fdcc38ae6 (diff) | |
Icons view: Layout optimizations
- Assure that landscape-previews use the whole available width of the icon-area
instead of only using the square width. This waste of space occured if the
text-width was larger than the icon-width.
- Only use one margin instead of two between the icons and the text to improve the
visual appearance (thanks to Martin Zilz for the hint)
BUG: 293268
FIXED-IN: 4.8.1
CCMAIL: [email protected]
Diffstat (limited to 'src/views')
| -rw-r--r-- | src/views/dolphinitemlistcontainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/dolphinitemlistcontainer.cpp b/src/views/dolphinitemlistcontainer.cpp index c687ede4d..4f7a0e06b 100644 --- a/src/views/dolphinitemlistcontainer.cpp +++ b/src/views/dolphinitemlistcontainer.cpp @@ -218,7 +218,7 @@ void DolphinItemListContainer::updateGridSize() if (itemWidth < iconSize + innerMargin * 2) { itemWidth = iconSize + innerMargin * 2; } - itemHeight = innerMargin * 2 + iconSize + styleOption.fontMetrics.height(); + itemHeight = innerMargin * 3 + iconSize + styleOption.fontMetrics.height(); break; } case KFileItemListView::CompactLayout: { |
