author | zautrix <zautrix> | 2005-07-10 21:34:03 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-10 21:34:03 (UTC) |
commit | f2f9b87daddccc3d4050c99f1b43eefc95dd830f (patch) (unidiff) | |
tree | b0df96070f34025a79d4a4e5e137121e94aa8a21 | |
parent | bf95dce0b9143e3c9b9aeb3cdfda24cb5325dd33 (diff) | |
download | kdepimpi-f2f9b87daddccc3d4050c99f1b43eefc95dd830f.zip kdepimpi-f2f9b87daddccc3d4050c99f1b43eefc95dd830f.tar.gz kdepimpi-f2f9b87daddccc3d4050c99f1b43eefc95dd830f.tar.bz2 |
fixx
-rw-r--r-- | korganizer/kotodoview.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/korganizer/kotodoview.cpp b/korganizer/kotodoview.cpp index 3ae977d..f46a103 100644 --- a/korganizer/kotodoview.cpp +++ b/korganizer/kotodoview.cpp | |||
@@ -526,4 +526,5 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) : | |||
526 | int fixwid = mQuickAdd->sizeHint().height(); | 526 | int fixwid = mQuickAdd->sizeHint().height(); |
527 | int fixhei = fixwid; | ||
527 | if ( QApplication::desktop()->width() > 800 ) | 528 | if ( QApplication::desktop()->width() > 800 ) |
528 | fixwid *= 2; | 529 | fixwid = (fixwid*3)/2; |
529 | connect ( flat, SIGNAL ( clicked()), SLOT ( setAllFlat())); | 530 | connect ( flat, SIGNAL ( clicked()), SLOT ( setAllFlat())); |
@@ -532,3 +533,2 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) : | |||
532 | s_done->setPixmap( SmallIcon("greenhook16")); | 533 | s_done->setPixmap( SmallIcon("greenhook16")); |
533 | s_done->setFixedHeight( flat->sizeHint().height() ); | ||
534 | connect ( s_done, SIGNAL ( clicked()), SLOT ( toggleCompleted())); | 534 | connect ( s_done, SIGNAL ( clicked()), SLOT ( toggleCompleted())); |
@@ -546,10 +546,10 @@ KOTodoView::KOTodoView(Calendar *calendar,QWidget* parent,const char* name) : | |||
546 | s_run->setFixedWidth( fixwid ); | 546 | s_run->setFixedWidth( fixwid ); |
547 | if ( QApplication::desktop()->width() < 800 ) { | 547 | |
548 | flat->setFixedHeight( fixwid ); | 548 | flat->setFixedHeight(fixhei ); |
549 | s_done->setFixedHeight( fixwid ); | 549 | s_done->setFixedHeight(fixhei ); |
550 | allopen->setFixedHeight( fixwid ); | 550 | allopen->setFixedHeight(fixhei ); |
551 | allclose->setFixedHeight( fixwid ); | 551 | allclose->setFixedHeight(fixhei ); |
552 | s_run->setFixedHeight( fixwid ); | 552 | s_run->setFixedHeight(fixhei ); |
553 | mNewSubBut->setFixedHeight( fixwid ); | 553 | mNewSubBut->setFixedHeight(fixhei ); |
554 | } | 554 | |
555 | quickLayout->addWidget( mNewSubBut ); | 555 | quickLayout->addWidget( mNewSubBut ); |