-rw-r--r-- | core/pim/today/today.cpp | 0 | ||||
-rw-r--r-- | core/pim/today/todaybase.cpp | 4 |
2 files changed, 3 insertions, 1 deletions
diff --git a/core/pim/today/today.cpp b/core/pim/today/today.cpp index d0cdd18..4ec690c 100644 --- a/core/pim/today/today.cpp +++ b/core/pim/today/today.cpp | |||
diff --git a/core/pim/today/todaybase.cpp b/core/pim/today/todaybase.cpp index c896463..7beed34 100644 --- a/core/pim/today/todaybase.cpp +++ b/core/pim/today/todaybase.cpp | |||
@@ -30,7 +30,7 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) | |||
30 | QPixmap opiezilla = Resource::loadPixmap("today/opiezilla" ); //the opiezilla | 30 | QPixmap opiezilla = Resource::loadPixmap("today/opiezilla" ); //the opiezilla |
31 | QPixmap config = Resource::loadPixmap( "SettingsIcon" ); // config icon | 31 | QPixmap config = Resource::loadPixmap( "SettingsIcon" ); // config icon |
32 | 32 | ||
33 | layout = new QVBoxLayout( this ); | 33 | layout = 0L; |
34 | 34 | ||
35 | QPalette pal = this->palette(); | 35 | QPalette pal = this->palette(); |
36 | QColor col = pal.color( QPalette::Active, QColorGroup::Background ); | 36 | QColor col = pal.color( QPalette::Active, QColorGroup::Background ); |
@@ -53,9 +53,11 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) | |||
53 | Frame->setFrameShape( QFrame::StyledPanel ); | 53 | Frame->setFrameShape( QFrame::StyledPanel ); |
54 | Frame->setFrameShadow( QFrame::Raised ); | 54 | Frame->setFrameShadow( QFrame::Raised ); |
55 | Frame->setLineWidth( 0 ); | 55 | Frame->setLineWidth( 0 ); |
56 | Frame->setMaximumHeight( 50 ); | ||
56 | 57 | ||
57 | QHBoxLayout *frameLayout = new QHBoxLayout( Frame ); | 58 | QHBoxLayout *frameLayout = new QHBoxLayout( Frame ); |
58 | QVBox *box1 = new QVBox( Frame ); | 59 | QVBox *box1 = new QVBox( Frame ); |
60 | box1->setMinimumWidth( 100 ); | ||
59 | // Today text | 61 | // Today text |
60 | TodayLabel = new QLabel( box1, "TodayText" ); | 62 | TodayLabel = new QLabel( box1, "TodayText" ); |
61 | QFont TodayLabel_font( TodayLabel->font() ); | 63 | QFont TodayLabel_font( TodayLabel->font() ); |