summaryrefslogtreecommitdiffabout
path: root/libkdepim/kcmconfigs
Side-by-side diff
Diffstat (limited to 'libkdepim/kcmconfigs') (more/less context) (show whitespace changes)
-rw-r--r--libkdepim/kcmconfigs/kdepimconfigwidget.cpp26
1 files changed, 18 insertions, 8 deletions
diff --git a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp
index 332f975..6de60fa 100644
--- a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp
+++ b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp
@@ -131,3 +131,3 @@ void KDEPIMConfigWidget::setupExternalAppTab()
QGridLayout *boxLayout = new QGridLayout( mExternalAppGroupBox->layout(), 4, 2, -1, "gridlayout" );
-
+ mExternalAppGroupBox->layout()->setMargin(5);
@@ -160,2 +160,3 @@ void KDEPIMConfigWidget::setupExternalAppTab()
+
lab = new QLabel( i18n("extra Message:"), mExternalAppGroupBox);
@@ -194,4 +195,4 @@ void KDEPIMConfigWidget::setupLocaleDateTab()
- topLayout->setSpacing(KDialog::spacingHint());
- topLayout->setMargin(KDialog::marginHint());
+ topLayout->setSpacing(KDialog::spacingHintSmall());
+ topLayout->setMargin(KDialog::marginHintSmall());
int iii = 0;
@@ -218,2 +219,6 @@ void KDEPIMConfigWidget::setupLocaleDateTab()
syncPrefsGroup->addRadio(i18n("User defined"));
+ if ( QApplication::desktop()->width() < 480 ) {
+ syncPrefsGroup->groupBox()->layout()->setMargin( 5 );
+ syncPrefsGroup->groupBox()->layout()->setSpacing( 0 );
+ }
topLayout->addMultiCellWidget( (QWidget*)syncPrefsGroup->groupBox(),iii,iii,0,1);
@@ -265,4 +270,6 @@ void KDEPIMConfigWidget::setupLocaleTab()
syncPrefsGroup->addRadio(i18n("User defined (usertranslation.txt)"));
- if ( QApplication::desktop()->width() < 300 )
- ;// syncPrefsGroup->groupBox()-> setOrientation (Qt::Vertical);
+ if ( QApplication::desktop()->width() < 300 ) {
+ syncPrefsGroup->groupBox()->layout()->setMargin( 5 );
+ syncPrefsGroup->groupBox()->layout()->setSpacing( 0 );
+ }
topLayout->addMultiCellWidget( (QWidget*)syncPrefsGroup->groupBox(),iii,iii,0,1);
@@ -295,4 +302,4 @@ void KDEPIMConfigWidget::setupTimeZoneTab()
QGridLayout *topLayout = new QGridLayout( topFrame, 5, 2);
- topLayout->setSpacing(KDialog::spacingHint());
- topLayout->setMargin(KDialog::marginHint());
+ topLayout->setSpacing(KDialog::spacingHintSmall());
+ topLayout->setMargin(KDialog::marginHintSmall());
@@ -334,5 +341,8 @@ void KDEPIMConfigWidget::setupTimeZoneTab()
++iii;
- QLabel* lab = new QLabel( i18n("Actual start and end is the\nsunday before this date."), topFrame );
+ QLabel* lab;
+
+ lab = new QLabel( i18n("Actual start and end is the\nsunday before this date."), topFrame );
topLayout->addMultiCellWidget(lab, iii,iii,0,1);
++iii;
+
lab = new QLabel( i18n("The year in the date is ignored."), topFrame );