summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/printoptions.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-03-06 18:41:54 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-03-06 20:08:39 -0800
commite8c918622fbd7072b3ff53e1d97148fbfd4274ff (patch)
treebbe410224be7a9e536fef684166344523a41f7e9 /desktop-widgets/printoptions.h
parent831fe3d7f9e339edb3ac19205514022ab2b00551 (diff)
downloadsubsurface-e8c918622fbd7072b3ff53e1d97148fbfd4274ff.tar.gz
Printing: support the "Border width" setting for templates
Going to "Template -> Edit" now has a field to enter the border width (in pixels as only that makes sense in CSS as a flexible unit, TMK). This field modifies the template_options.borderwidth Grantlee property which is part of the bundled templates already and allows the users to modify the borders of tables. The C++ implementation was missing, while the HTML (template) implementation was already in place. Overlooked during GSoC. Reported-by: Willem Ferguson <willemferguson@zoology.up.ac.za> Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/printoptions.h')
-rw-r--r--desktop-widgets/printoptions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop-widgets/printoptions.h b/desktop-widgets/printoptions.h
index 9c50b10f3..b8248b7e5 100644
--- a/desktop-widgets/printoptions.h
+++ b/desktop-widgets/printoptions.h
@@ -43,6 +43,7 @@ struct template_options {
|| other.color_palette_index != color_palette_index
|| other.font_size != font_size
|| other.line_spacing != line_spacing
+ || other.border_width != border_width
|| other.color_palette != color_palette;
}
};