summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (show 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
@@ -52,24 +52,25 @@ void OTaskEditor::init() {
QVBoxLayout* lay = new QVBoxLayout(this);
setCaption("Task Editor");
m_tab = new OTabWidget(this);
/*
* Add the Widgets
*/
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") );
m_alarm = new TaskEditorAlarms( m_tab );
m_tab->addTab( m_alarm, QString::null, tr("Alarms") );
m_remind = new TaskEditorAlarms( m_tab );
m_tab->addTab( m_remind, QString::null, tr("Reminders") );