author | zecke <zecke> | 2002-10-25 22:44:21 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-10-25 22:44:21 (UTC) |
commit | e8ec7351bc460984a3202804e23c351b0d5606bd (patch) (side-by-side diff) | |
tree | 0cff4116b01fbda32f317620393b9d1fb8a9528d /core/pim | |
parent | b682e9d2276c10a5c26773c6797ba1ac176ea4cf (diff) | |
download | opie-e8ec7351bc460984a3202804e23c351b0d5606bd.zip opie-e8ec7351bc460984a3202804e23c351b0d5606bd.tar.gz opie-e8ec7351bc460984a3202804e23c351b0d5606bd.tar.bz2 |
widget width
-rw-r--r-- | core/pim/todo/otaskeditor.cpp | 1 |
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 @@ -58,12 +58,13 @@ void OTaskEditor::init() { */ m_overView = new TaskEditorOverViewImpl(m_tab ); m_tab->addTab( m_overView, QString::null, tr("Overview") ); m_adv = new TaskEditorAdvanced( m_tab ); m_line = new QMultiLineEdit(m_adv ); + m_line->setWordWrap( QMultiLineEdit::WidgetWidth ); QLabel* label = new QLabel(m_adv ); label->setText( tr("Description") ); ((QGridLayout*) m_adv->layout() )->addWidget( label,3, 0 ); ((QGridLayout*) m_adv->layout())->addWidget( m_line,4,0 ); m_tab->addTab( m_adv, QString::null, tr("Advanced") ); |