From a014a9f0d0fe82dc5daf2b37ad4458cc5722db0d Mon Sep 17 00:00:00 2001 From: harlekin Date: Sun, 30 Mar 2003 22:44:10 +0000 Subject: layout fix, closes bug #761 --- (limited to 'core/pim') diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index 4ec690c..83d8601 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp @@ -370,11 +370,13 @@ void Today::refresh() { QValueList::Iterator it; for ( it = pluginList.begin(); it != pluginList.end(); ++it ) { - if ( !(*it).excludeRefresh ) { - (*it).guiPart->refresh(); - qDebug( "refresh" ); - } + if ( !(*it).excludeRefresh ) { + (*it).guiPart->refresh(); + layout->addWidget( (*it).guiBox ); + qDebug( "refresh" ); + } } + layout->addStretch(0); } void Today::startApplication() { diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp index 7beed34..41daa7d 100644 --- a/core/pim/today/todaybase.cpp +++ b/core/pim/today/todaybase.cpp @@ -53,7 +53,6 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) Frame->setFrameShape( QFrame::StyledPanel ); Frame->setFrameShadow( QFrame::Raised ); Frame->setLineWidth( 0 ); - Frame->setMaximumHeight( 50 ); QHBoxLayout *frameLayout = new QHBoxLayout( Frame ); QVBox *box1 = new QVBox( Frame ); -- cgit v0.9.0.2