From 03415d90783979f8e51880b7950721985fee29bf Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 8 Feb 2012 17:45:22 +0100 Subject: Layout optimizations - Differ internally between margins and paddings - Add a small padding in the icons-view and the compact-views - Optimize the width of the icons-view if previews are shown --- src/kitemviews/kitemliststyleoption.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/kitemviews/kitemliststyleoption.h') diff --git a/src/kitemviews/kitemliststyleoption.h b/src/kitemviews/kitemliststyleoption.h index bafb81d3a..9284dc61b 100644 --- a/src/kitemviews/kitemliststyleoption.h +++ b/src/kitemviews/kitemliststyleoption.h @@ -38,7 +38,9 @@ public: QFont font; QFontMetrics fontMetrics; QPalette palette; - int margin; + int padding; + int horizontalMargin; + int verticalMargin; int iconSize; }; #endif -- cgit v1.3.1