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/settings/viewmodes/viewsettingstab.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/settings/viewmodes/viewsettingstab.h') diff --git a/src/settings/viewmodes/viewsettingstab.h b/src/settings/viewmodes/viewsettingstab.h index b21fc102c..2115da1bc 100644 --- a/src/settings/viewmodes/viewsettingstab.h +++ b/src/settings/viewmodes/viewsettingstab.h @@ -63,7 +63,8 @@ private: QSlider* m_previewSizeSlider; DolphinFontRequester* m_fontRequester; - KComboBox* m_textWidthBox; + KComboBox* m_widthBox; + KComboBox* m_maxLinesBox; QCheckBox* m_expandableFolders; }; -- cgit v1.3