summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.cpp10
-rw-r--r--core/pim/today/todaybase.cpp1
2 files changed, 6 insertions, 5 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
@@ -369,13 +369,15 @@ void Today::refresh() {
init();
QValueList<TodayPlugin>::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() {
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 );