diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2013-10-15 12:54:17 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-10-15 04:23:56 -0700 |
commit | 88b1e09dee7b78f1bd4fba40e75b619e6d8067df (patch) | |
tree | 8cc0c37b7a9c8ae1e855183f27d288ba6f8b9576 /qt-ui/models.cpp | |
parent | f818ece0748a2bcd58d4b12f8d7566ff79ebf27f (diff) | |
download | subsurface-88b1e09dee7b78f1bd4fba40e75b619e6d8067df.tar.gz |
printlayout.cpp: Increase the font size in tables bellow profile
Because of varying font (screen) DPI we use pixel sized fonts
when printing. Apparently 8px does not look that good on Windows
default fonts, but kinda OK on Linux. We compensate by
increasing the font size and table rows to 9px.
Also decrease the padding between the table and profile to 5px.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r-- | qt-ui/models.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp index df2732cc4..7ea056300 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -1590,7 +1590,7 @@ QVariant ProfilePrintModel::data(const QModelIndex &index, int role) const } case Qt::FontRole: { QFont font; - const int baseSize = 8; + const int baseSize = 9; // dive # if (row == 0 && col == 0) { font.setBold(true); |