From 84ddce3290c2e44cf351888ce10e1d25e2268fc0 Mon Sep 17 00:00:00 2001 From: zautrix Date: Fri, 29 Jul 2005 14:41:38 +0000 Subject: fix --- diff --git a/korganizer/koeditorgeneral.cpp b/korganizer/koeditorgeneral.cpp index e601eef..92e5a0f 100644 --- a/korganizer/koeditorgeneral.cpp +++ b/korganizer/koeditorgeneral.cpp @@ -126,9 +126,10 @@ void KOEditorGeneral::initHeader(QWidget *parent,QBoxLayout *topLayout) headerLayout->addWidget(mLocationEdit,1,1); headerLayout->addWidget(mCalendarBox,1,2); int str = 3; - if ( QApplication::desktop()->width() < 320 ) { - --str; + if ( QApplication::desktop()->width() < 640 ) { --str; + if ( QApplication::desktop()->width() < 320 ) + --str; } headerLayout->setColStretch( 1, str); headerLayout->setColStretch( 2, 1); -- cgit v0.9.0.2