-rw-r--r-- | core/pim/today/today.cpp | 2 | ||||
-rw-r--r-- | core/pim/today/todaybase.cpp | 4 |
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 @@ -295,9 +295,9 @@ void Today::draw() { TodayPlugin plugin; 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 { // qDebug( plugin.name + " is INACTIVE" ); 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 @@ -29,9 +29,9 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) QPixmap logo = Resource::loadPixmap( "today/today_logo"); // logo 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 ); pal.setColor( QPalette::Active, QColorGroup::Button, col ); @@ -52,11 +52,13 @@ TodayBase::TodayBase( QWidget* parent, const char* name, WFlags ) Frame->setPalette( pal2 ); 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() ); TodayLabel_font.setBold( TRUE ); |