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
@@ -56,7 +56,7 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags )
56 56
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" );
62 QFont TodayLabel_font( TodayLabel->font() ); 62 QFont TodayLabel_font( TodayLabel->font() );
@@ -83,9 +83,7 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags )
83 83
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
91 ConfigButton = new OClickableLabel ( Frame, "PushButton1" ); 89 ConfigButton = new OClickableLabel ( Frame, "PushButton1" );
@@ -93,8 +91,8 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags )
93 QWhatsThis::add( ConfigButton, tr( "Click here to get to the config dialog" ) ); 91 QWhatsThis::add( ConfigButton, tr( "Click here to get to the config dialog" ) );
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 );
100} 98}