author | zautrix <zautrix> | 2005-02-01 17:51:26 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-01 17:51:26 (UTC) |
commit | 81991bbbc7f815c82b37db654528ee3b224435dc (patch) (side-by-side diff) | |
tree | 7e556083803d359c3a598d3ecf724d1127703480 | |
parent | b699d9cf03b5b5bb92609bcd04eef2651fe0028b (diff) | |
download | kdepimpi-81991bbbc7f815c82b37db654528ee3b224435dc.zip kdepimpi-81991bbbc7f815c82b37db654528ee3b224435dc.tar.gz kdepimpi-81991bbbc7f815c82b37db654528ee3b224435dc.tar.bz2 |
fff
-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"; |