Skip to content

Commit

Permalink
Fixed Issue BuildmLearn#64
Browse files Browse the repository at this point in the history
Enabled Word Wrap in quizitem.cpp rather than quizitem.ui so that it can be easily removed if not required.
  • Loading branch information
KKcorps committed Mar 22, 2015
1 parent 3086476 commit d035d71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/templates/quiz/quizitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ void QuizItem::setQuestion(const QuizQuestion &question, int question_number, in
m_ui->m_lblQuestionNumber->setText(tr("Question number %1 of %2").arg(QString::number(question_number),
QString::number(total_questions)));
m_ui->m_lblQuestionText->setText(question.question());
m_ui->m_lblQuestionText->setWordWrap(true);
}

QuizItem::State QuizItem::state() const {
Expand Down

0 comments on commit d035d71

Please sign in to comment.