fixed issue that the item height does not match to the number of lines in the default setup of Dolphin

svn path=/trunk/KDE/kdebase/apps/; revision=775065
This commit is contained in:
Peter Penz 2008-02-14 20:26:11 +00:00
parent 57e2cd9ae9
commit f260f7b544

View file

@ -32,7 +32,7 @@
check 'void IconsViewSettingsPage::applySettings()' as reference (iconsviewsettingspage.cpp):
itemHeight += fontHeight * numberOfTextlines + 10;
/-->
<default code="true">KIconLoader::SizeMedium + QFontMetrics(KGlobalSettings::generalFont()).height() + 10</default>
<default code="true">KIconLoader::SizeMedium + QFontMetrics(KGlobalSettings::generalFont()).height() * 2 + 10</default>
</entry>
<entry name="ItemWidth" type="Int">
<label context="@label">Item width</label>
@ -52,6 +52,7 @@
</entry>
<entry name="NumberOfTextlines" type="Int">
<label context="@label">Number of textlines</label>
<!-- don't forget adjusting the "ItemHeight" too when changing this value /-->
<default>2</default>
</entry>
<entry name="PreviewSize" type="Int">