author | harlekin <harlekin> | 2003-03-30 22:44:10 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-03-30 22:44:10 (UTC) |
commit | a014a9f0d0fe82dc5daf2b37ad4458cc5722db0d (patch) (side-by-side diff) | |
tree | b3826416037c7650c3cc0fd9f0038ed705f3cc1c | |
parent | 0b6d158a2a2b52d83ad4b1046ce9dbffff2190e6 (diff) | |
download | opie-a014a9f0d0fe82dc5daf2b37ad4458cc5722db0d.zip opie-a014a9f0d0fe82dc5daf2b37ad4458cc5722db0d.tar.gz opie-a014a9f0d0fe82dc5daf2b37ad4458cc5722db0d.tar.bz2 |
layout fix, closes bug #761
-rw-r--r-- | core/pim/today/today.cpp | 2 | ||||
-rw-r--r-- | core/pim/today/todaybase.cpp | 1 |
2 files changed, 2 insertions, 1 deletions
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 @@ -371,11 +371,13 @@ void Today::refresh() { QValueList<TodayPlugin>::Iterator it; for ( it = pluginList.begin(); it != pluginList.end(); ++it ) { if ( !(*it).excludeRefresh ) { (*it).guiPart->refresh(); + layout->addWidget( (*it).guiBox ); qDebug( "refresh" ); } } + layout->addStretch(0); } void Today::startApplication() { QCopEnvelope e( "QPE/System", "execute(QString)" ); 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 @@ -52,9 +52,8 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) Frame->setPalette( pal2 ); Frame->setFrameShape( QFrame::StyledPanel ); Frame->setFrameShadow( QFrame::Raised ); Frame->setLineWidth( 0 ); - Frame->setMaximumHeight( 50 ); QHBoxLayout *frameLayout = new QHBoxLayout( Frame ); QVBox *box1 = new QVBox( Frame ); box1->setMinimumWidth( 100 ); |