[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdegraphics/kiconedit
From: Stephan Binner <binner () kde ! org>
Date: 2005-02-16 8:58:43
Message-ID: 20050216085843.AFEAC1CF8F () office ! kde ! org
[Download RAW message or body]
CVS commit by binner:
fix layout
M +5 -2 kiconconfig.cpp 1.48
--- kdegraphics/kiconedit/kiconconfig.cpp #1.47:1.48
@@ -246,7 +246,10 @@ KBackgroundConfig::KBackgroundConfig( QW
QGroupBox *grp1 = new QGroupBox( i18n( "Select Background" ), this );
+ grp1->setColumnLayout(0, Qt::Vertical );
+ grp1->layout()->setSpacing( KDialog::spacingHint() );
+ grp1->layout()->setMargin( KDialog::marginHint() );
mainLayout->addWidget( grp1 );
- QGridLayout *grp1Layout = new QGridLayout( grp1, 3, 2, 15 );
+ QGridLayout *grp1Layout = new QGridLayout( grp1->layout(), 3, 2 );
QButtonGroup* btngrp = new QButtonGroup( grp1 );
@@ -392,5 +395,5 @@ KMiscConfig::KMiscConfig(QWidget *parent
ml->addWidget( btngrp );
- QVBoxLayout *tgl = new QVBoxLayout( btngrp, 10, 5 );
+ QVBoxLayout *tgl = new QVBoxLayout( btngrp, KDialog::marginHint(), KDialog::spacingHint() );
tgl->insertSpacing(0, 10);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic