[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: koffice/libs/kofficecore
From: Thomas Zander <zander () kde ! org>
Date: 2007-05-04 7:10:51
Message-ID: 200705040910.51904.zander () kde ! org
[Download RAW message or body]
Why the hardcoded minimum font size (of 8) ?
Font 8 is still pretty big IMOHO.
On Thursday 03 May 2007 22:16:56 Robert Knight wrote:
> SVN commit 660806 by knight:
>
> Fix the miniscule dock widget fonts. Please shout if this solution is
> incorrect.
>
> M +4 -4 KoMainWindow.cpp
>
>
> --- trunk/koffice/libs/kofficecore/KoMainWindow.cpp #660805:660806
> @@ -1787,12 +1787,12 @@
>
> KConfigGroup group( KGlobal::config(), "GUI" );
> QFont f = KGlobalSettings::generalFont();
> - double ps = qMin(9.0, f.pointSize() * 0.8);
> - ps = group.readEntry("palettefontsize", ps);
> - if (ps < 6) ps = 6;
> + double ps = group.readEntry("palettefontsize", f.pointSize());
> + ps = qMax(8.0 , ps);
> + f.setPointSizeF(ps);
>
> - f.setPointSize(6);
> dockWidget->setFont(f);
> +
> return dockWidget;
> }
--
Thomas Zander
[Attachment #3 (application/pgp-signature)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic