diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-07-11 21:30:40 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-11 21:30:40 -0700 |
commit | 2552b027aea21a222b4087d5616c452a4bca1dde (patch) | |
tree | 73dd512863a379db1dbbc0e5058c4f5fd8df2009 /qt-ui/printlayout.cpp | |
parent | a4d1163d21c5347ac69eee98def182a104db490b (diff) | |
download | subsurface-2552b027aea21a222b4087d5616c452a4bca1dde.tar.gz |
Printing: use more appropriate font sizes
2-up and 6-up need different fonts.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/printlayout.cpp')
-rw-r--r-- | qt-ui/printlayout.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-ui/printlayout.cpp b/qt-ui/printlayout.cpp index 159cd04db..59b6d392a 100644 --- a/qt-ui/printlayout.cpp +++ b/qt-ui/printlayout.cpp @@ -166,6 +166,7 @@ void PrintLayout::printProfileDives(int divesPerRow, int divesPerColumn) const int padPT = 5; // create a model and table ProfilePrintModel model; + model.setFontsize(divesPerColumn == 1 ? 6.5 : 4.5); QPointer<QTableView> table(createProfileTable(&model, scaledW)); // profilePrintTableMaxH updates after the table is created const int tableH = profilePrintTableMaxH; |