diff src/converter.cpp @ 15:03dad1cff5b9

Minor layout fixes
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 22 Mar 2016 17:49:11 +0100
parents 101ee762f021
children df7936065450
line wrap: on
line diff
--- a/src/converter.cpp	Tue Mar 22 17:25:20 2016 +0100
+++ b/src/converter.cpp	Tue Mar 22 17:49:11 2016 +0100
@@ -47,6 +47,10 @@
     mChoiceTextFmt = mAnswerChoiceFmt;
     mChoiceTextFmt.setVerticalAlignment(Format::AlignVCenter);
 
+    mChoiceVotesFmt = mChoiceTextFmt;
+    mChoiceVotesFmt.setFontSize(10);
+    mAnswerChoiceFmt.setHorizontalAlignment(Format::AlignLeft);
+
     mFreeTextFmt = mQuestionFmt;
     mFreeTextFmt.setFontBold(false);
 
@@ -106,7 +110,7 @@
     }
 
     /* For the merged cell wordwrap trick. */
-    xlsx.setColumnWidth(26, sum - 1);
+    xlsx.setColumnWidth(26, sum + 1);
     xlsx.setColumnHidden(26, true);
 
     int row = 1;
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)