From 60b868108151463a702e8c10933b0ceb99f11bbe Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 14 Apr 2012 00:22:08 +0200 Subject: Allow to optionally limit the maximum number of text lines Showing the whole filename unclipped seems to be a good default, however for users with a lot of files that have extremely long names this might get a problem especially in the icons-view. - Allow to limit the maximum number of lines in the icons-view - Allow to specify a maximum width in the compact-view (No limit is required for the details-view, as the name is shortened automatically to show other columns) BUG: 288596 FIXED-IN: 4.9.0 --- src/kitemviews/kitemliststyleoption.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/kitemviews/kitemliststyleoption.h') diff --git a/src/kitemviews/kitemliststyleoption.h b/src/kitemviews/kitemliststyleoption.h index 62441ef4b..1a304fc28 100644 --- a/src/kitemviews/kitemliststyleoption.h +++ b/src/kitemviews/kitemliststyleoption.h @@ -43,6 +43,7 @@ public: int verticalMargin; int iconSize; bool extendedSelectionRegion; + QSize maxTextSize; }; #endif -- cgit v1.3.1