Diffstat (limited to 'korganizer/koeditordetails.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | korganizer/koeditordetails.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/korganizer/koeditordetails.cpp b/korganizer/koeditordetails.cpp index b73d22f..cf0a458 100644 --- a/korganizer/koeditordetails.cpp +++ b/korganizer/koeditordetails.cpp | |||
@@ -135,25 +135,26 @@ KOEditorDetails::KOEditorDetails (int spacing,QWidget* parent,const char* name) | |||
135 | 135 | ||
136 | mRemoveButton = new QPushButton(i18n("&Remove"),buttonBox); | 136 | mRemoveButton = new QPushButton(i18n("&Remove"),buttonBox); |
137 | buttonLayout->addWidget(mRemoveButton); | 137 | buttonLayout->addWidget(mRemoveButton); |
138 | connect(mRemoveButton, SIGNAL(clicked()),SLOT(removeAttendee())); | 138 | connect(mRemoveButton, SIGNAL(clicked()),SLOT(removeAttendee())); |
139 | 139 | ||
140 | mAddressBookButton = new QPushButton(i18n("Address &Book..."),this); | 140 | mAddressBookButton = new QPushButton(i18n("Address &Book..."),this); |
141 | // buttonLayout->addWidget(mAddressBookButton); | 141 | // buttonLayout->addWidget(mAddressBookButton); |
142 | connect(mAddressBookButton,SIGNAL(clicked()),SLOT(openAddressBook())); | 142 | connect(mAddressBookButton,SIGNAL(clicked()),SLOT(openAddressBook())); |
143 | //mRoleCombo->setFixedSize( mRoleCombo->sizeHint () ); | 143 | //mRoleCombo->setFixedSize( mRoleCombo->sizeHint () ); |
144 | 144 | ||
145 | if (qApp->desktop()->width() < 640 ) { | 145 | if (qApp->desktop()->width() < 640 ) { |
146 | if ( qApp->desktop()->width() < 300 ) | 146 | if ( qApp->desktop()->width() < 300 ) |
147 | mListView->setFixedHeight(80); | 147 | topLayout->setSpacing(1); |
148 | ;//mListView->setFixedHeight(80); | ||
148 | topLayout->addMultiCellWidget(mOrganizerLabel,0,0,0,3); | 149 | topLayout->addMultiCellWidget(mOrganizerLabel,0,0,0,3); |
149 | topLayout->addMultiCellWidget(mListView,1,1,0,3); | 150 | topLayout->addMultiCellWidget(mListView,1,1,0,3); |
150 | topLayout->addWidget(attendeeLabel,3,0); | 151 | topLayout->addWidget(attendeeLabel,3,0); |
151 | topLayout->addMultiCellWidget(mNameEdit,3,3,1,2); | 152 | topLayout->addMultiCellWidget(mNameEdit,3,3,1,2); |
152 | topLayout->addWidget(emailLabel,4,0); | 153 | topLayout->addWidget(emailLabel,4,0); |
153 | topLayout->addMultiCellWidget(mEmailEdit,4,4,1,2); | 154 | topLayout->addMultiCellWidget(mEmailEdit,4,4,1,2); |
154 | topLayout->addWidget(attendeeRoleLabel,5,0); | 155 | topLayout->addWidget(attendeeRoleLabel,5,0); |
155 | topLayout->addMultiCellWidget(mRoleCombo,5,5,1,3); | 156 | topLayout->addMultiCellWidget(mRoleCombo,5,5,1,3); |
156 | topLayout->addWidget(statusLabel,6,0); | 157 | topLayout->addWidget(statusLabel,6,0); |
157 | topLayout->addMultiCellWidget(mStatusCombo,6,6,1,3); | 158 | topLayout->addMultiCellWidget(mStatusCombo,6,6,1,3); |
158 | topLayout->addMultiCellWidget(mAddressBookButton,2,2,2,3); | 159 | topLayout->addMultiCellWidget(mAddressBookButton,2,2,2,3); |
159 | topLayout->addMultiCellWidget(mRsvpButton,2,2,0,1); | 160 | topLayout->addMultiCellWidget(mRsvpButton,2,2,0,1); |