[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] KAddressBook GUI design issues
From:       Reinhold Kainhofer <reinhold () kainhofer ! com>
Date:       2002-10-03 22:29:16
[Download RAW message or body]

Tobias Koenig wrote:

> Maybe in KControl something like
>   size = config->readNumEntry("fontSize", 12);
> is used, and after a new installation no value is given in the config
> file, so the that KGlobal::generalFont() returns font with a undefined
> size. A simple
>   QFont general = KGlobalSettings::generalFont();
>   if ( general.pixelSize < 12 ) // unuseable if smaller
>     general.setPixelSize( 12 );
>
> should help.
>

Argh, that's such a terrible hack!!!  And 12 pt is way too large. I'm running
kde with 9 and 10 pt fonts, so if you really need such a check, please use 8 as
threshold...
Reinhold

_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic