-rw-r--r-- | desktop/rpm/kdepim_rpm | 2 | ||||
-rw-r--r-- | korganizer/koagendaview.cpp | 9 | ||||
-rw-r--r-- | version | 2 |
3 files changed, 6 insertions, 7 deletions
diff --git a/desktop/rpm/kdepim_rpm b/desktop/rpm/kdepim_rpm index 9093b40..f75cd48 100644 --- a/desktop/rpm/kdepim_rpm +++ b/desktop/rpm/kdepim_rpm @@ -1,6 +1,6 @@ Summary: A collection of PIM programs Name: KDE-Pim-Pi -Version: 2.0.1 +Version: 2.0.2 Release: SuSE_9.2 Copyright:GPL Group: Productivity/Pim diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp index 8c27c43..d3db89a 100644 --- a/korganizer/koagendaview.cpp +++ b/korganizer/koagendaview.cpp @@ -662,7 +662,8 @@ void KOAgendaView::createDayLabels() QFont dlf = KOPrefs::instance()->mTimeLabelsFont; QFontMetrics fm ( dlf ); int selCount = mSelectedDates.count(); - QString dayTest = "Mon 20"; + QString dayTest = "Won 20"; + //QString dayTest = "Mon 20"; int wid = fm.width( dayTest ); //maxWid -= ( selCount * 3 ); //working for QLabels maxWid -= ( selCount * 5 ); //working for QPushButton @@ -674,7 +675,7 @@ void KOAgendaView::createDayLabels() // qDebug("DAYLABELS TOOOOOOO BIG "); while ( needWid > maxWid ) { dayTest = dayTest.left( dayTest.length() - 1 ); - wid = fm.width( dayTest ); + wid = fm.width( dayTest )+1; needWid = wid * selCount; } int maxLen = dayTest.length(); @@ -685,7 +686,7 @@ void KOAgendaView::createDayLabels() --fontPoint; dlf.setPointSize( fontPoint ); QFontMetrics f( dlf ); - wid = f.width( "20" )+2; + wid = f.width( "30" )+3; needWid = wid * selCount; if ( needWid < maxWid ) break; @@ -997,8 +998,6 @@ void KOAgendaView::updateEventDates(KOAgendaItem *item, int type) } } } - - qDebug("to888"); if ( item->incidence()->type() == "Event" ) { item->incidence()->setDtStart(startDt); (static_cast<Event*>(item->incidence()))->setDtEnd(endDt); @@ -1 +1 @@ -version = "2.0.1"; +version = "2.0.2"; |