summaryrefslogtreecommitdiffabout
path: root/korganizer/koagendaitem.cpp
Side-by-side diff
Diffstat (limited to 'korganizer/koagendaitem.cpp') (more/less context) (show whitespace changes)
-rw-r--r--korganizer/koagendaitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/koagendaitem.cpp b/korganizer/koagendaitem.cpp
index 7b29ce7..d0a7b07 100644
--- a/korganizer/koagendaitem.cpp
+++ b/korganizer/koagendaitem.cpp
@@ -407,9 +407,9 @@ void KOAgendaItem::paintMe( bool selected, QPainter* paint )
if ( w > parentWidget()->width() ){
w = parentWidget()->width() - 6;
#ifndef DESKTOP_VERSION
- align = ( AlignCenter|WordBreak);
+ align = ( AlignHCenter|WordBreak|AlignTop);
#else
- align = ( AlignCenter|BreakAnywhere|WordBreak);
+ align = ( AlignHCenter|BreakAnywhere|WordBreak|AlignTop);
#endif
}