From 4017b5fccc188c74e971c573dbb6154ce877807b Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 03 Apr 2005 05:23:33 +0000 Subject: fixes --- (limited to 'kaddressbook/xxportselectdialog.cpp') diff --git a/kaddressbook/xxportselectdialog.cpp b/kaddressbook/xxportselectdialog.cpp index e7bc8c0..0127fc0 100644 --- a/kaddressbook/xxportselectdialog.cpp +++ b/kaddressbook/xxportselectdialog.cpp @@ -242,8 +242,8 @@ void XXPortSelectDialog::initGUI() { QFrame *page = plainPage(); - QVBoxLayout *topLayout = new QVBoxLayout( page, KDialog::marginHint(), - KDialog::spacingHint() ); + QVBoxLayout *topLayout = new QVBoxLayout( page, KDialog::marginHintSmall(), + KDialog::spacingHintSmall() ); QLabel *label = new QLabel( i18n( "Which contacts do you want to select?" ), page ); topLayout->addWidget( label ); @@ -277,6 +277,7 @@ void XXPortSelectDialog::initGUI() groupLayout->addWidget( mUseCategories, 3, 0 ); mFiltersCombo = new QComboBox( false, mButtonGroup ); + mFiltersCombo->setSizePolicy(QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ) ); QWhatsThis::add( mFiltersCombo, i18n( "Select a filter to decide which contacts to select." ) ); groupLayout->addWidget( mFiltersCombo, 2, 1 ); @@ -285,9 +286,9 @@ void XXPortSelectDialog::initGUI() mCategoriesView->header()->hide(); QWhatsThis::add( mCategoriesView, i18n( "Check the categories whose members you want to select." ) ); groupLayout->addWidget( mCategoriesView, 3, 1 ); - - if (QApplication::desktop()->height() == 480 ) - mCategoriesView->setMaximumHeight( 240 ); + mCategoriesView->setSizePolicy(QSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding ) ); + //if (QApplication::desktop()->height() == 480 ) + // mCategoriesView->setMaximumHeight( 240 ); topLayout->addWidget( mButtonGroup ); QButtonGroup *sortingGroup = new QButtonGroup( i18n( "Sorting" ), page ); -- cgit v0.9.0.2