author | zautrix <zautrix> | 2005-10-29 11:44:55 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-10-29 11:44:55 (UTC) |
commit | 9e4a837905ba2634cc5c451fec8821404c04da30 (patch) (unidiff) | |
tree | e90a6cf9849fb7a781e0293e846f0dc646b7079c | |
parent | 126ae577622d43e17d8aeb1e66cafd9d16298cd2 (diff) | |
download | kdepimpi-9e4a837905ba2634cc5c451fec8821404c04da30.zip kdepimpi-9e4a837905ba2634cc5c451fec8821404c04da30.tar.gz kdepimpi-9e4a837905ba2634cc5c451fec8821404c04da30.tar.bz2 |
fixxx
-rw-r--r-- | kaddressbook/phoneeditwidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kaddressbook/phoneeditwidget.h b/kaddressbook/phoneeditwidget.h index fbf9fe7..f61087b 100644 --- a/kaddressbook/phoneeditwidget.h +++ b/kaddressbook/phoneeditwidget.h | |||
@@ -97,12 +97,14 @@ public: | |||
97 | QHBoxLayout * lay = new QHBoxLayout( this ); | 97 | QHBoxLayout * lay = new QHBoxLayout( this ); |
98 | lay->setSpacing( 2 ); | 98 | lay->setSpacing( 2 ); |
99 | lay->setMargin( 0 ); | 99 | lay->setMargin( 0 ); |
100 | mMinusButton = new QPushButton ( this ); | 100 | mMinusButton = new QPushButton ( this ); |
101 | mMinusButton->setPixmap ( SmallIcon("minus")); | 101 | mMinusButton->setPixmap ( SmallIcon("minus")); |
102 | mCombo = new KComboBox( this ); | 102 | mCombo = new KComboBox( this ); |
103 | if ( QApplication::desktop()->width() <= 640 ) | ||
104 | mCombo->setSizeLimit ( 6 ); | ||
103 | mNumber = new KLineEdit( this ); | 105 | mNumber = new KLineEdit( this ); |
104 | mMinusButton->setMaximumHeight( mNumber->sizeHint().height() + 6); | 106 | mMinusButton->setMaximumHeight( mNumber->sizeHint().height() + 6); |
105 | lay->addWidget( mMinusButton ); | 107 | lay->addWidget( mMinusButton ); |
106 | lay->addWidget( mCombo ); | 108 | lay->addWidget( mCombo ); |
107 | lay->addWidget( mNumber ); | 109 | lay->addWidget( mNumber ); |
108 | connect( mMinusButton , SIGNAL ( clicked() ), this, SLOT ( deleteNumber() ) ); | 110 | connect( mMinusButton , SIGNAL ( clicked() ), this, SLOT ( deleteNumber() ) ); |