summaryrefslogtreecommitdiffstats
path: root/qt-ui/printlayout.cpp
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-11-30 17:37:27 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-11-30 17:37:27 +0200
commitd4766a8cce9a7a873f23c29fa2ef7615961686e8 (patch)
tree79bc4ecbb75006e0744646a4f8d952a2a97ec503 /qt-ui/printlayout.cpp
parent526985d6e57a1d58a97495c84b4cff814b81af3a (diff)
downloadsubsurface-d4766a8cce9a7a873f23c29fa2ef7615961686e8.tar.gz
Print: yet another font adjustment for the profile table
We now only use a slightly large font for the "Dive #" entry. All other font sizes remain at 9px. Another change is that we now attempt to use 11px for individual row height. This makes the table at least 12px bigger (n_rows * increment), but does not cut letters like 'g', which go slightly bellow the font baseline. Perhaps this can be improved later by adjusting the font and row sizes again. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-ui/printlayout.cpp')
-rw-r--r--qt-ui/printlayout.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qt-ui/printlayout.cpp b/qt-ui/printlayout.cpp
index b24248d64..afc6dd036 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 - 3);
profilePrintColumnWidths.append(dw - 3);
profilePrintColumnWidths.append(dw + 6); // fit to 100%
- const int sr = 10; // smallest row height in pixels
- profilePrintRowHeights.append(sr + 2);
- profilePrintRowHeights.append(sr + 5);
+ const int sr = 12; // smallest row height in pixels
+ profilePrintRowHeights.append(sr);
+ profilePrintRowHeights.append(sr + 4);
profilePrintRowHeights.append(sr);
profilePrintRowHeights.append(sr);
profilePrintRowHeights.append(sr);