From 50b0d4463cf13ae27e45e54b48b2911a3ceb5f9f Mon Sep 17 00:00:00 2001 From: zautrix Date: Fri, 29 Jul 2005 14:38:22 +0000 Subject: layout fix --- (limited to 'korganizer/koeditorgeneral.cpp') diff --git a/korganizer/koeditorgeneral.cpp b/korganizer/koeditorgeneral.cpp index aa55d82..e601eef 100644 --- a/korganizer/koeditorgeneral.cpp +++ b/korganizer/koeditorgeneral.cpp @@ -125,7 +125,12 @@ void KOEditorGeneral::initHeader(QWidget *parent,QBoxLayout *topLayout) else { headerLayout->addWidget(mLocationEdit,1,1); headerLayout->addWidget(mCalendarBox,1,2); - headerLayout->setColStretch( 1, 3); + int str = 3; + if ( QApplication::desktop()->width() < 320 ) { + --str; + --str; + } + headerLayout->setColStretch( 1, str); headerLayout->setColStretch( 2, 1); } -- cgit v0.9.0.2