-rw-r--r-- | korganizer/journalentry.cpp | 7 | ||||
-rw-r--r-- | korganizer/kojournalview.cpp | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/korganizer/journalentry.cpp b/korganizer/journalentry.cpp index 232ea58..58863fe 100644 --- a/korganizer/journalentry.cpp +++ b/korganizer/journalentry.cpp | |||
@@ -71,4 +71,2 @@ JournalEntry::JournalEntry(Calendar *calendar,QWidget *parent) : | |||
71 | toggleJournal->setIconSet (icon ) ; | 71 | toggleJournal->setIconSet (icon ) ; |
72 | int size = toggleJournal->sizeHint().height(); | ||
73 | toggleJournal->setFixedSize( size * 2 /3 , size ); | ||
74 | new QLabel(i18n(" Title: "),vb); | 72 | new QLabel(i18n(" Title: "),vb); |
@@ -85,4 +83,3 @@ JournalEntry::JournalEntry(Calendar *calendar,QWidget *parent) : | |||
85 | saveTemplate->setIconSet (icon ) ; | 83 | saveTemplate->setIconSet (icon ) ; |
86 | //size = saveTemplate->sizeHint().height(); | 84 | int size = saveTemplate->sizeHint().height(); |
87 | saveTemplate->setFixedSize( size, size ); | ||
88 | if ( QApplication::desktop()->width() < 321 ) | 85 | if ( QApplication::desktop()->width() < 321 ) |
@@ -93,2 +90,4 @@ JournalEntry::JournalEntry(Calendar *calendar,QWidget *parent) : | |||
93 | loadTemplate->setFixedSize( size, size ); | 90 | loadTemplate->setFixedSize( size, size ); |
91 | saveTemplate->setFixedSize( size, size ); | ||
92 | toggleJournal->setFixedSize( size , size ); | ||
94 | mEditor = new KTextEdit(this); | 93 | mEditor = new KTextEdit(this); |
diff --git a/korganizer/kojournalview.cpp b/korganizer/kojournalview.cpp index 4fc9013..ff87ef4 100644 --- a/korganizer/kojournalview.cpp +++ b/korganizer/kojournalview.cpp | |||
@@ -71,3 +71,3 @@ KOJournalView::KOJournalView(Calendar *calendar, QWidget *parent, | |||
71 | mTopLayout->addWidget( vb ); | 71 | mTopLayout->addWidget( vb ); |
72 | mDateLabel->setMargin(2); | 72 | mDateLabel->setMargin(1); |
73 | mDateLabel->setAlignment(AlignCenter); | 73 | mDateLabel->setAlignment(AlignCenter); |