Mercurial > clickerconvert
comparison src/converter.cpp @ 69:dab9c19252bd
Set wordwrap exiplicitly for multiple choice answers
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Thu, 29 Sep 2016 14:40:06 +0200 |
parents | defd29b9f25a |
children | 3438f5cce8cc |
comparison
equal
deleted
inserted
replaced
68:badfc05a8bbf | 69:dab9c19252bd |
---|---|
48 mAnswerChoiceFmt.setHorizontalAlignment(Format::AlignLeft); | 48 mAnswerChoiceFmt.setHorizontalAlignment(Format::AlignLeft); |
49 mAnswerChoiceFmt.setTextWarp(true); | 49 mAnswerChoiceFmt.setTextWarp(true); |
50 | 50 |
51 mChoiceTextFmt = mAnswerChoiceFmt; | 51 mChoiceTextFmt = mAnswerChoiceFmt; |
52 mChoiceTextFmt.setVerticalAlignment(Format::AlignVCenter); | 52 mChoiceTextFmt.setVerticalAlignment(Format::AlignVCenter); |
53 mChoiceTextFmt.setTextWarp(true); | |
53 | 54 |
54 mChoiceVotesFmt = mChoiceTextFmt; | 55 mChoiceVotesFmt = mChoiceTextFmt; |
55 mChoiceVotesFmt.setFontSize(10); | 56 mChoiceVotesFmt.setFontSize(10); |
56 | 57 |
57 mFreeTextFmt = mQuestionFmt; | 58 mFreeTextFmt = mQuestionFmt; |