summaryrefslogtreecommitdiff
path: root/core
Side-by-side diff
Diffstat (limited to 'core') (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
@@ -55,9 +55,9 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags )
Frame->setLineWidth( 0 );
QHBoxLayout *frameLayout = new QHBoxLayout( Frame );
QVBox *box1 = new QVBox( Frame );
- box1->setMinimumWidth( 100 );
+
// Today text
TodayLabel = new QLabel( box1, "TodayText" );
QFont TodayLabel_font( TodayLabel->font() );
TodayLabel_font.setBold( TRUE );
@@ -82,20 +82,18 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags )
// Ownerfield
OwnerField = new OClickableLabel( this , "Owner" );
- OwnerField->setGeometry( QRect( 0, 0, this->width(), 12 ) );
OwnerField->setAlignment( int (QLabel::AlignTop | QLabel::AlignLeft ) );
- OwnerField->setMaximumHeight(12);
// config
ConfigButton = new OClickableLabel ( Frame, "PushButton1" );
ConfigButton->setPixmap( config );
QWhatsThis::add( ConfigButton, tr( "Click here to get to the config dialog" ) );
ConfigButton->setBackgroundOrigin( QLabel::ParentOrigin );
- frameLayout->addWidget( box1 );
- frameLayout->addStretch( 2 );
+ frameLayout->addWidget( box1, 1 );
+ frameLayout->addStretch( 1 );
frameLayout->addWidget( ConfigButton, 0, AlignBottom );
frameLayout->addWidget( Opiezilla );
}