diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2014-08-05 20:45:53 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-05 12:49:16 -0700 |
commit | 81125d190a216d5718e44a984aef62fc3d7d07fe (patch) | |
tree | e23c5aa19382ceb00e36803a325d3653ff4ef1b2 /display.h | |
parent | 4583cd8e09944e61aa59baa58e74abee0af0d268 (diff) | |
download | subsurface-81125d190a216d5718e44a984aef62fc3d7d07fe.tar.gz |
Print: add a safe guard for row heights in the table print
If a row height is more than the available height on a page
(minus the height of a heading row) we have to skip this row (dive).
The current profile print simply does not support that and it does
not make much sense. For that to happen either the page will have
to be tiny or the user must have entered a very long text for "buddy",
"dive master", "location" or there must be some sort of a
very-large-font-while-printing type of a problem.
Technically, rows spanning on multiple pages is doable, but probably
not worth the effort.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'display.h')
0 files changed, 0 insertions, 0 deletions