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/kitemviews/kfileitemlistwidget.h | |
| 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/kitemviews/kfileitemlistwidget.h')
| -rw-r--r-- | src/kitemviews/kfileitemlistwidget.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/kitemviews/kfileitemlistwidget.h b/src/kitemviews/kfileitemlistwidget.h index 91f00fe73..4a44a8468 100644 --- a/src/kitemviews/kfileitemlistwidget.h +++ b/src/kitemviews/kfileitemlistwidget.h @@ -139,7 +139,6 @@ private: QPixmap m_pixmap; QSize m_scaledPixmapSize; - QSize m_originalPixmapSize; // Size of pixmap before it gets converted to a square pixmap QRectF m_iconRect; // Cache for KItemListWidget::iconRect() QPixmap m_hoverPixmap; // Cache for modified m_pixmap when hovering the item |
