summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2005-07-04 11:32:53 (UTC)
committer zautrix <zautrix>2005-07-04 11:32:53 (UTC)
commit172078c08cd183e9f7ec913a9bf42426e3585b78 (patch) (side-by-side diff)
treed0f82f7495287ca23db2faf0ed541dc42b087464 /korganizer
parente19b410f43c4fcf35d3d62fc312d1b5251068691 (diff)
downloadkdepimpi-172078c08cd183e9f7ec913a9bf42426e3585b78.zip
kdepimpi-172078c08cd183e9f7ec913a9bf42426e3585b78.tar.gz
kdepimpi-172078c08cd183e9f7ec913a9bf42426e3585b78.tar.bz2
layout fix
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koeditorgeneral.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/korganizer/koeditorgeneral.cpp b/korganizer/koeditorgeneral.cpp
index 753630b..407a5d5 100644
--- a/korganizer/koeditorgeneral.cpp
+++ b/korganizer/koeditorgeneral.cpp
@@ -116,25 +116,26 @@ void KOEditorGeneral::initHeader(QWidget *parent,QBoxLayout *topLayout)
mCalendarBox = new QComboBox ( parent );
mCalendarBox->setSizePolicy( QSizePolicy( QSizePolicy::Preferred ,QSizePolicy::MinimumExpanding ,FALSE) );
if ( QApplication::desktop()->height() < 320 ) {
headerLayout->addWidget(mLocationEdit,0,3);
headerLayout->addWidget(mCalendarBox,0,4);
headerLayout->setColStretch( 1, 10);
headerLayout->setColStretch( 3, 10);
mCalendarBox->setMaximumWidth( 64 );
}
else {
headerLayout->addWidget(mLocationEdit,1,1);
headerLayout->addWidget(mCalendarBox,1,2);
- headerLayout->setColStretch( 1, 10);
+ headerLayout->setColStretch( 1, 3);
+ headerLayout->setColStretch( 2, 1);
}
}
void KOEditorGeneral::setFocusOn( int i )
{
mNextFocus = i;
QTimer::singleShot( 0, this, SLOT ( slotSetFocusOn() ));
}
void KOEditorGeneral::slotSetFocusOn()
{
mNextFocus;
if ( mNextFocus == 1 ) {