summaryrefslogtreecommitdiff
path: root/core/pim/today
authorharlekin <harlekin>2003-03-30 22:28:09 (UTC)
committer harlekin <harlekin>2003-03-30 22:28:09 (UTC)
commit0b6d158a2a2b52d83ad4b1046ce9dbffff2190e6 (patch) (side-by-side diff)
treee9e62695cf309a14bcffa31dc3dd70f652629211 /core/pim/today
parent608a9f1537af0f0f679ec5f7358e9a9716604f8b (diff)
downloadopie-0b6d158a2a2b52d83ad4b1046ce9dbffff2190e6.zip
opie-0b6d158a2a2b52d83ad4b1046ce9dbffff2190e6.tar.gz
opie-0b6d158a2a2b52d83ad4b1046ce9dbffff2190e6.tar.bz2
layout changes
Diffstat (limited to 'core/pim/today') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/today/today.cpp2
-rw-r--r--core/pim/today/todaybase.cpp4
2 files changed, 4 insertions, 2 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
@@ -296,7 +296,7 @@ void Today::draw() {
for ( uint i = 0; i < pluginList.count(); i++ ) {
plugin = pluginList[i];
- if ( plugin.active ) {
+ if ( plugin.active ) {
// qDebug( plugin.name + " is ACTIVE " );
plugin.guiBox->show();
} else {
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 )
QPixmap opiezilla = Resource::loadPixmap("today/opiezilla" ); //the opiezilla
QPixmap config = Resource::loadPixmap( "SettingsIcon" ); // config icon
- layout = new QVBoxLayout( this );
+ layout = 0L;
QPalette pal = this->palette();
QColor col = pal.color( QPalette::Active, QColorGroup::Background );
@@ -53,9 +53,11 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags )
Frame->setFrameShape( QFrame::StyledPanel );
Frame->setFrameShadow( QFrame::Raised );
Frame->setLineWidth( 0 );
+ Frame->setMaximumHeight( 50 );
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() );