changeset 15:03dad1cff5b9

Minor layout fixes
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 22 Mar 2016 17:49:11 +0100
parents 256182eca5b6
children d8140d64fa76
files src/converter.cpp src/main.cpp
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
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;
--- a/src/main.cpp	Tue Mar 22 17:25:20 2016 +0100
+++ b/src/main.cpp	Tue Mar 22 17:49:11 2016 +0100
@@ -130,10 +130,10 @@
     }
 
     ConvertFormat fmt = Format_XLSX;
-    /* Initialize the converter. */
+    /* Initialize the converter.
     if (parser.isSet(QStringLiteral("pdf"))) {
         fmt = Format_PDF;
-    }
+    }*/
     QString infile;
     if (args.size()) {
         infile = args.first();
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)