summaryrefslogtreecommitdiffstats
path: root/qt-ui/printlayout.cpp
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-11-30 15:41:18 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-11-30 15:41:18 +0200
commita60475d336abae3f1f672443dc5bb8a13395a830 (patch)
tree96a95ac7959e3728d752f8840a7c78f7d1830b73 /qt-ui/printlayout.cpp
parentf85b434ef1fd58e559a68ab2f4e3fbc20e98dd46 (diff)
downloadsubsurface-a60475d336abae3f1f672443dc5bb8a13395a830.tar.gz
Print: adjustments to font sizes and alignment
The new profile table requires different alignment and different font sizes for specific cells. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-ui/printlayout.cpp')
-rw-r--r--qt-ui/printlayout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/printlayout.cpp b/qt-ui/printlayout.cpp
index 24d3492a5..a0533b71d 100644
--- a/qt-ui/printlayout.cpp
+++ b/qt-ui/printlayout.cpp
@@ -42,9 +42,9 @@ PrintLayout::PrintLayout(PrintDialog *dialogPtr, QPrinter *printerPtr, struct op
profilePrintColumnWidths.append(dw);
profilePrintColumnWidths.append(dw);
profilePrintColumnWidths.append(dw); // fit to 100%
- const int sr = 9; // smallest row height in pixels
+ const int sr = 10; // smallest row height in pixels
profilePrintRowHeights.append(sr + 2);
- profilePrintRowHeights.append(sr + 7);
+ profilePrintRowHeights.append(sr + 5);
profilePrintRowHeights.append(sr);
profilePrintRowHeights.append(sr);
profilePrintRowHeights.append(sr);