summaryrefslogtreecommitdiff
authorzecke <zecke>2002-10-25 22:44:21 (UTC)
committer zecke <zecke>2002-10-25 22:44:21 (UTC)
commite8ec7351bc460984a3202804e23c351b0d5606bd (patch) (unidiff)
tree0cff4116b01fbda32f317620393b9d1fb8a9528d
parentb682e9d2276c10a5c26773c6797ba1ac176ea4cf (diff)
downloadopie-e8ec7351bc460984a3202804e23c351b0d5606bd.zip
opie-e8ec7351bc460984a3202804e23c351b0d5606bd.tar.gz
opie-e8ec7351bc460984a3202804e23c351b0d5606bd.tar.bz2
widget width
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/otaskeditor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pim/todo/otaskeditor.cpp b/core/pim/todo/otaskeditor.cpp
index 1a68eb5..8b261de 100644
--- a/core/pim/todo/otaskeditor.cpp
+++ b/core/pim/todo/otaskeditor.cpp
@@ -56,16 +56,17 @@ void OTaskEditor::init() {
56 /* 56 /*
57 * Add the Widgets 57 * Add the Widgets
58 */ 58 */
59 m_overView = new TaskEditorOverViewImpl(m_tab ); 59 m_overView = new TaskEditorOverViewImpl(m_tab );
60 m_tab->addTab( m_overView, QString::null, tr("Overview") ); 60 m_tab->addTab( m_overView, QString::null, tr("Overview") );
61 61
62 m_adv = new TaskEditorAdvanced( m_tab ); 62 m_adv = new TaskEditorAdvanced( m_tab );
63 m_line = new QMultiLineEdit(m_adv ); 63 m_line = new QMultiLineEdit(m_adv );
64 m_line->setWordWrap( QMultiLineEdit::WidgetWidth );
64 QLabel* label = new QLabel(m_adv ); 65 QLabel* label = new QLabel(m_adv );
65 label->setText( tr("Description") ); 66 label->setText( tr("Description") );
66 ((QGridLayout*) m_adv->layout() )->addWidget( label,3, 0 ); 67 ((QGridLayout*) m_adv->layout() )->addWidget( label,3, 0 );
67 ((QGridLayout*) m_adv->layout())->addWidget( m_line,4,0 ); 68 ((QGridLayout*) m_adv->layout())->addWidget( m_line,4,0 );
68 m_tab->addTab( m_adv, QString::null, tr("Advanced") ); 69 m_tab->addTab( m_adv, QString::null, tr("Advanced") );
69 70
70 m_alarm = new TaskEditorAlarms( m_tab ); 71 m_alarm = new TaskEditorAlarms( m_tab );
71 m_tab->addTab( m_alarm, QString::null, tr("Alarms") ); 72 m_tab->addTab( m_alarm, QString::null, tr("Alarms") );