summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-02-02 20:10:54 (UTC)
committer zautrix <zautrix>2005-02-02 20:10:54 (UTC)
commitf79d089ec5c44a27f9005da76e452b4574eae27f (patch) (side-by-side diff)
treebba6aa76939a7bd736230329088b812cabfa3204
parent20191b4c5acf30282436a7f7215719f7b2ec8b01 (diff)
downloadkdepimpi-f79d089ec5c44a27f9005da76e452b4574eae27f.zip
kdepimpi-f79d089ec5c44a27f9005da76e452b4574eae27f.tar.gz
kdepimpi-f79d089ec5c44a27f9005da76e452b4574eae27f.tar.bz2
fix
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/koagendaview.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/korganizer/koagendaview.cpp b/korganizer/koagendaview.cpp
index f8301f8..918931a 100644
--- a/korganizer/koagendaview.cpp
+++ b/korganizer/koagendaview.cpp
@@ -429,13 +429,12 @@ KOAgendaView::KOAgendaView(Calendar *cal,QWidget *parent,const char *name) :
QPushButton *dummyAllDayRightB = new QPushButton(dummyAllDayRight);
mDummyAllDayRightL = new QLabel ( dummyAllDayRight );
dummyAllDayRightB->setFlat( true );
dummyAllDayRightB->setFocusPolicy(NoFocus);
- // dummyAllDayRightB->setSizePolicy(QSizePolicy( QSizePolicy::Expanding ,QSizePolicy::Expanding ));
dummyAllDayRightB->setFixedHeight( (dummyAllDayRightB->sizeHint().height()/4)*3 );
QPopupMenu * wpo = new QPopupMenu (this);
wpo->insertItem( i18n("W#"), 0 );
int i;
for ( i = 1; i < 53; i++ )
wpo->insertItem( QString::number( i ),i );
@@ -588,13 +587,13 @@ KOAgendaView::KOAgendaView(Calendar *cal,QWidget *parent,const char *name) :
--fontPoint;
dlf.setPointSize( fontPoint );
QFontMetrics f( dlf );
wid = f.width( dayTest );
}
mDummyAllDayRightL->setFont( dlf );
-
+ mDummyAllDayRightL->setAlignment( AlignHCenter );
}
void KOAgendaView::toggleAllDay()
{
if ( mSplitterAgenda->firstHandle() )
mSplitterAgenda->firstHandle()->toggle();