author | harlekin <harlekin> | 2003-04-10 15:38:16 (UTC) |
---|---|---|
committer | harlekin <harlekin> | 2003-04-10 15:38:16 (UTC) |
commit | 101e039ba53d4ccbe5b46575bb56c07f6f544db6 (patch) (unidiff) | |
tree | a190650df1a47f9409b6f414f11708be33bc01c3 | |
parent | b934e2eeea5fb58fa637a02985f8c805f632cb39 (diff) | |
download | opie-101e039ba53d4ccbe5b46575bb56c07f6f544db6.zip opie-101e039ba53d4ccbe5b46575bb56c07f6f544db6.tar.gz opie-101e039ba53d4ccbe5b46575bb56c07f6f544db6.tar.bz2 |
fixes for bigger fonts
-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 | |||
@@ -53,13 +53,13 @@ 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 | 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 ); |
64 | TodayLabel_font.setPointSize( 40 ); | 64 | TodayLabel_font.setPointSize( 40 ); |
65 | TodayLabel->setFont( TodayLabel_font ); | 65 | TodayLabel->setFont( TodayLabel_font ); |
@@ -80,24 +80,22 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) | |||
80 | QWhatsThis::add( Opiezilla , tr( "Today by Maximilian Reiß" ) ); | 80 | QWhatsThis::add( Opiezilla , tr( "Today by Maximilian Reiß" ) ); |
81 | Opiezilla->setBackgroundOrigin( QLabel::ParentOrigin ); | 81 | Opiezilla->setBackgroundOrigin( QLabel::ParentOrigin ); |
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 | ||
102 | 100 | ||
103 | /** | 101 | /** |