-rw-r--r-- | core/pim/today/todaybase.cpp | 8 |
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 ) | |||
55 | Frame->setLineWidth( 0 ); | 55 | Frame->setLineWidth( 0 ); |
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() ); |
63 | TodayLabel_font.setBold( TRUE ); | 63 | TodayLabel_font.setBold( TRUE ); |
@@ -82,20 +82,18 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) | |||
82 | 82 | ||
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" ); |
92 | ConfigButton->setPixmap( config ); | 90 | ConfigButton->setPixmap( config ); |
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 | } |
101 | 99 | ||