-rw-r--r-- | microkde/kglobalsettings.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/microkde/kglobalsettings.cpp b/microkde/kglobalsettings.cpp index e57defe..b6d2feb 100644 --- a/microkde/kglobalsettings.cpp +++ b/microkde/kglobalsettings.cpp @@ -5,14 +5,20 @@ #include <qapplication.h> QFont KGlobalSettings::generalFont() { int size = 12; - if (QApplication::desktop()->width() < 480 ) + if (QApplication::desktop()->width() < 480 ) { size = 10; + } +#ifndef DESKTOP_VERSION + else + if (QApplication::desktop()->width() >= 480 && QApplication::desktop()->width() <= 640 ) + size = 18; +#endif QFont f = QApplication::font(); //qDebug("pointsize %d %s", f.pointSize(),f.family().latin1()); f.setPointSize( size ); return f; } QFont KGlobalSettings::toolBarFont() |