From 72af3125a824722d9875d202dd156cd3f7d8fc46 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 4 Feb 2012 22:14:53 +0100 Subject: 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: martin@kreativkonzentrat.de --- src/kitemviews/kfileitemlistwidget.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/kitemviews/kfileitemlistwidget.h') 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 -- cgit v1.3.1