From f6c8249db564c1276d4c7ed5ad88c6fbac361b8d Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 03 Apr 2005 04:33:19 +0000 Subject: fixes --- (limited to 'korganizer/koagendaview.cpp') diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp index d450a97..6d1e6d5 100644 --- a/korganizer/koagendaview.cpp +++ b/korganizer/koagendaview.cpp @@ -153,7 +153,7 @@ void TimeLabels::drawContents(QPainter *p,int cx, int cy, int cw, int ch) //testline //p->drawLine(0,0,0,contentsHeight()); while (y < cy + ch+mCellHeight) { - p->drawLine(startW-tw2 ,y,cw+2,y); + p->drawLine(startW-tw2+1 ,y,cw+2,y); hour.setNum(cell); // handle 24h and am/pm time formats if (KGlobal::locale()->use12Clock()) { @@ -215,7 +215,7 @@ void TimeLabels::updateConfig() // update HourSize mCellHeight = KOPrefs::instance()->mHourSize*4; - resizeContents(50,mRows * mCellHeight); + resizeContents(mMiniWidth,mRows * mCellHeight+1); } /** update time label positions */ -- cgit v0.9.0.2