summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--ChangeLog11
-rw-r--r--library/datebookmonth.cpp7
2 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4f347db..3b0f1d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,2 +1,13 @@
+2005-??-?? Opie 1.2.2
+
+
+ New Features
+ ------------
+
+
+ Fixed Bugs
+ ----------
+ * #1695 - Date selector use too small fontsize on VGA screen (hrw)
+
2005-09-11 Opie 1.2.1
diff --git a/library/datebookmonth.cpp b/library/datebookmonth.cpp
index 2616b7b..ffdf335 100644
--- a/library/datebookmonth.cpp
+++ b/library/datebookmonth.cpp
@@ -662,5 +662,12 @@ void DayItemMonth::paint( QPainter *p, const QColorGroup &cg,
// Finally, draw the number.
QFont f = p->font();
+ if(qApp->desktop()->width() >= 480)
+ {
+ f.setPointSize( f.pointSize() - 2 );
+ }
+ else
+ {
f.setPointSize( ( f.pointSize() / 3 ) * 2 );
+ }
p->setFont( f );
QFontMetrics fm( f );