summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/journalentry.cpp7
-rw-r--r--korganizer/kojournalview.cpp2
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
@@ -69,8 +69,6 @@ JournalEntry::JournalEntry(Calendar *calendar,QWidget *parent) :
QPushButton * toggleJournal = new QPushButton( vb );
icon = SmallIcon("1updownarrow");
toggleJournal->setIconSet (icon ) ;
- int size = toggleJournal->sizeHint().height();
- toggleJournal->setFixedSize( size * 2 /3 , size );
new QLabel(i18n(" Title: "),vb);
mTitle = new KLineEdit ( vb );
mTitleLabel = new QLabel(i18n("Title"),vb);
@@ -83,14 +81,15 @@ JournalEntry::JournalEntry(Calendar *calendar,QWidget *parent) :
else
icon = SmallIcon("fileexport");
saveTemplate->setIconSet (icon ) ;
- //size = saveTemplate->sizeHint().height();
- saveTemplate->setFixedSize( size, size );
+ int size = saveTemplate->sizeHint().height();
if ( QApplication::desktop()->width() < 321 )
icon = SmallIcon("fileimport16");
else
icon = SmallIcon("fileimport");
loadTemplate->setIconSet (icon ) ;
loadTemplate->setFixedSize( size, size );
+ saveTemplate->setFixedSize( size, size );
+ toggleJournal->setFixedSize( size , size );
mEditor = new KTextEdit(this);
connect(mEditor,SIGNAL(textChanged()),SLOT(setDirty()));
#ifndef DESKTOP_VERSION
diff --git a/korganizer/kojournalview.cpp b/korganizer/kojournalview.cpp
index 4fc9013..ff87ef4 100644
--- a/korganizer/kojournalview.cpp
+++ b/korganizer/kojournalview.cpp
@@ -69,7 +69,7 @@ KOJournalView::KOJournalView(Calendar *calendar, QWidget *parent,
newJournal->setFixedSize( size, size );
mDateLabel = new QLabel ( vb );
mTopLayout->addWidget( vb );
- mDateLabel->setMargin(2);
+ mDateLabel->setMargin(1);
mDateLabel->setAlignment(AlignCenter);
connect( newJournal, SIGNAL( clicked() ), this , SLOT( newJournal() ) );
getNewEntry();