summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/todaybase.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp
index 41daa7d..feb9a84 100644
--- a/core/pim/today/todaybase.cpp
+++ b/core/pim/today/todaybase.cpp
@@ -57,5 +57,5 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags )
57 QHBoxLayout *frameLayout = new QHBoxLayout( Frame ); 57 QHBoxLayout *frameLayout = new QHBoxLayout( Frame );
58 QVBox *box1 = new QVBox( Frame ); 58 QVBox *box1 = new QVBox( Frame );
59 box1->setMinimumWidth( 100 ); 59
60 // Today text 60 // Today text
61 TodayLabel = new QLabel( box1, "TodayText" ); 61 TodayLabel = new QLabel( box1, "TodayText" );
@@ -84,7 +84,5 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags )
84 // Ownerfield 84 // Ownerfield
85 OwnerField = new OClickableLabel( this , "Owner" ); 85 OwnerField = new OClickableLabel( this , "Owner" );
86 OwnerField->setGeometry( QRect( 0, 0, this->width(), 12 ) );
87 OwnerField->setAlignment( int (QLabel::AlignTop | QLabel::AlignLeft ) ); 86 OwnerField->setAlignment( int (QLabel::AlignTop | QLabel::AlignLeft ) );
88 OwnerField->setMaximumHeight(12);
89 87
90 // config 88 // config
@@ -94,6 +92,6 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags )
94 ConfigButton->setBackgroundOrigin( QLabel::ParentOrigin ); 92 ConfigButton->setBackgroundOrigin( QLabel::ParentOrigin );
95 93
96 frameLayout->addWidget( box1 ); 94 frameLayout->addWidget( box1, 1 );
97 frameLayout->addStretch( 2 ); 95 frameLayout->addStretch( 1 );
98 frameLayout->addWidget( ConfigButton, 0, AlignBottom ); 96 frameLayout->addWidget( ConfigButton, 0, AlignBottom );
99 frameLayout->addWidget( Opiezilla ); 97 frameLayout->addWidget( Opiezilla );