diff options
| author | Peter Penz <[email protected]> | 2007-05-15 20:24:56 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-05-15 20:24:56 +0000 |
| commit | 91f03ab07b894ef37864c9c5a1552b48b38f40ee (patch) | |
| tree | 65beb2b0df844734a95f657e350f9fe7600a9ffb /src/dolphin_iconsmodesettings.kcfg | |
| parent | c5f8d7ca78ad5cafc5464dc8eb44509b96da6ef0 (diff) | |
some finetuning for the icons view:
- rename gridWidth() and gridHeight() settings property to itemWidth() and itemHeight() to avoid confusion with the grid size property of QListView
- assure that the grid spacing is respected
- decrease default text width
- allow having more than 1 text line doing a proper wrapping
svn path=/trunk/KDE/kdebase/apps/; revision=665097
Diffstat (limited to 'src/dolphin_iconsmodesettings.kcfg')
| -rw-r--r-- | src/dolphin_iconsmodesettings.kcfg | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/src/dolphin_iconsmodesettings.kcfg b/src/dolphin_iconsmodesettings.kcfg index 45d40d5e9..d01c11a14 100644 --- a/src/dolphin_iconsmodesettings.kcfg +++ b/src/dolphin_iconsmodesettings.kcfg @@ -26,13 +26,21 @@ <label>Bold</label> <default>false</default> </entry> - <entry name="GridHeight" type="Int"> - <label>Grid height</label> - <default code="true">K3Icon::SizeMedium + (KGlobalSettings::generalFont().pointSize() * 3)</default> + <entry name="ItemHeight" type="Int"> + <label>Item height</label> + <!-- + check 'void IconsViewSettingsPage::applySettings()' as reference (iconsviewsettingspage.cpp): + itemHeight += fontHeight * numberOfTextlines + 16; + /--> + <default code="true">K3Icon::SizeMedium + (QFontMetrics(KGlobalSettings::generalFont()).height() * 2) + 16</default> </entry> - <entry name="GridWidth" type="Int"> - <label>Grid width</label> - <default>128</default> + <entry name="ItemWidth" type="Int"> + <label>Item width</label> + <!-- + check 'void IconsViewSettingsPage::applySettings()' as reference (iconsviewsettingspage.cpp): + itemWidth = TopToBottomBase + textSizeIndex * TopToBottomInc; + /--> + <default>96</default> </entry> <entry name="GridSpacing" type="Int"> <label>Grid spacing</label> @@ -44,11 +52,7 @@ </entry> <entry name="NumberOfTextlines" type="Int"> <label>Number of textlines</label> - <default>1</default> - </entry> - <entry name="Preview" type="Bool"> - <label>Show preview</label> - <default>true</default> + <default>2</default> </entry> <entry name="PreviewSize" type="Int"> <label>Preview size</label> |
