summaryrefslogtreecommitdiff
authortux_mike <tux_mike>2002-03-28 23:35:14 (UTC)
committer tux_mike <tux_mike>2002-03-28 23:35:14 (UTC)
commit092eafd03031a770819a42a3dd31f7e197ce1974 (patch) (side-by-side diff)
tree3a94e822f767ba780cbbf3b3d554342e8f6e0a10
parent6c6f578fa5ef1f83cf1ba4978015663360ac2e7e (diff)
downloadopie-092eafd03031a770819a42a3dd31f7e197ce1974.zip
opie-092eafd03031a770819a42a3dd31f7e197ce1974.tar.gz
opie-092eafd03031a770819a42a3dd31f7e197ce1974.tar.bz2
Made a minor spacing change, makes editing a little more comfortable
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/addressbook/contacteditor.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/pim/addressbook/contacteditor.cpp b/core/pim/addressbook/contacteditor.cpp
index 0c90510..66e94ef 100644
--- a/core/pim/addressbook/contacteditor.cpp
+++ b/core/pim/addressbook/contacteditor.cpp
@@ -261,13 +261,13 @@ void ContactEditor::init() {
svGeneral->setResizePolicy( QScrollView::AutoOneFit );
svGeneral->setFrameStyle( QFrame::NoFrame );
QWidget *container = new QWidget( svGeneral->viewport() );
svGeneral->addChild( container );
- QGridLayout *gl = new QGridLayout( container );
+ QGridLayout *gl = new QGridLayout( container, 1, 1, 2, 3 );
gl->setResizeMode( QLayout::FreeResize );
btnFullName = new QPushButton( tr( "Full Name..." ), container );
gl->addWidget( btnFullName, 0, 0 );
txtFullName = new QLineEdit( container );
gl->addWidget( txtFullName, 0, 1 );
@@ -324,13 +324,13 @@ void ContactEditor::init() {
svAddress->setResizePolicy( QScrollView::AutoOneFit );
svAddress->setFrameStyle( QFrame::NoFrame );
container = new QWidget( svAddress->viewport() );
svAddress->addChild( container );
- gl = new QGridLayout( container, 5, 3, 0, 1 );
+ gl = new QGridLayout( container, 5, 3, 2, 3 );
cmbAddress = new QComboBox( FALSE, container );
cmbAddress->insertItem( tr( "Business" ) );
cmbAddress->insertItem( tr( "Home" ) );
gl->addMultiCellWidget( cmbAddress, 0, 0, 0, 1 );
@@ -389,13 +389,13 @@ void ContactEditor::init() {
svDetails->setResizePolicy( QScrollView::AutoOneFit );
svDetails->setFrameStyle( QFrame::NoFrame );
container = new QWidget( svDetails->viewport() );
svDetails->addChild( container );
- gl = new QGridLayout( container, 1, 2, 0, 1 );
+ gl = new QGridLayout( container, 1, 2, 2, 3 );
QStringList::ConstIterator it = slDynamicEntries->begin();
for (i = 0; it != slDynamicEntries->end(); i++, ++it) {
l = new QLabel( *it, container );
listName.append( l );
gl->addWidget( l, i, 0 );
@@ -420,13 +420,13 @@ void ContactEditor::init() {
txtNote = new QMultiLineEdit( dlgNote );
vbNote->addWidget( txtNote );
connect( btnNote, SIGNAL(clicked()), this, SLOT(slotNote()) );
dlgName = new QDialog( this, "Name Dialog", TRUE );
dlgName->setCaption( tr("Edit Name") );
- gl = new QGridLayout( dlgName, 4, 2, 0, 1 );
+ gl = new QGridLayout( dlgName, 4, 2, 2, 3 );
l = new QLabel( tr("First Name"), dlgName );
gl->addWidget( l, 0, 0 );
txtFirstName = new QLineEdit( dlgName );
gl->addWidget( txtFirstName, 0, 1 );