summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-06-30 04:35:32 (UTC)
committer zautrix <zautrix>2005-06-30 04:35:32 (UTC)
commit63147898391dbeabca2dc8f48730b324c15a7498 (patch) (side-by-side diff)
tree6f42b6fc1d95ee584d44deb50726e94c02f986e5 /korganizer
parent54dd512d3980381c2b02263462db03ae7c5a0264 (diff)
downloadkdepimpi-63147898391dbeabca2dc8f48730b324c15a7498.zip
kdepimpi-63147898391dbeabca2dc8f48730b324c15a7498.tar.gz
kdepimpi-63147898391dbeabca2dc8f48730b324c15a7498.tar.bz2
fixxi
Diffstat (limited to 'korganizer') (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
@@ -68,10 +68,8 @@ 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);
mTitleLabel->setMargin(0);
@@ -82,16 +80,17 @@ JournalEntry::JournalEntry(Calendar *calendar,QWidget *parent) :
icon = SmallIcon("fileexport16");
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
QPEApplication::setStylusOperation( mEditor, QPEApplication::RightOnHold );
diff --git a/korganizer/kojournalview.cpp b/korganizer/kojournalview.cpp
index 4fc9013..ff87ef4 100644
--- a/korganizer/kojournalview.cpp
+++ b/korganizer/kojournalview.cpp
@@ -68,9 +68,9 @@ KOJournalView::KOJournalView(Calendar *calendar, QWidget *parent,
int size = newJournal->sizeHint().height();
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();
}