diff options
| author | Peter Penz <[email protected]> | 2012-02-08 17:45:22 +0100 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-02-08 17:48:32 +0100 |
| commit | 03415d90783979f8e51880b7950721985fee29bf (patch) | |
| tree | 2e38e2cddbc293f1fa3be44729a079bf03d4ec45 /src/kitemviews/kitemliststyleoption.h | |
| parent | 3c83d8f14defbec5f09aeeb78de3885535d2dc71 (diff) | |
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
Diffstat (limited to 'src/kitemviews/kitemliststyleoption.h')
| -rw-r--r-- | src/kitemviews/kitemliststyleoption.h | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
