diff options
| author | Mike Skec <skec@protonmail.ch> | 2021-02-23 16:05:30 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-02-23 09:29:53 +0100 |
| commit | a219a8b3e5444b3dc0c8aa20ffafb2653c358652 (patch) | |
| tree | 7af06a9c32b92c449f6fc518a7cec7a645e3a160 /src/renderers/textstyleinstance.cpp | |
| parent | b03693711ab79f22da85998924145f1436b627aa (diff) | |
| download | kristall-a219a8b3e5444b3dc0c8aa20ffafb2653c358652.tar.gz | |
Add 'indent size' option
Also includes some about:help additions
Diffstat (limited to 'src/renderers/textstyleinstance.cpp')
| -rw-r--r-- | src/renderers/textstyleinstance.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/renderers/textstyleinstance.cpp b/src/renderers/textstyleinstance.cpp index 6190907..044953c 100644 --- a/src/renderers/textstyleinstance.cpp +++ b/src/renderers/textstyleinstance.cpp @@ -50,7 +50,9 @@ TextStyleInstance::TextStyleInstance(DocumentStyle const & themed_style) blockquote_tableformat.setHeaderRowCount(0); blockquote_tableformat.setCellPadding(16.0); blockquote_tableformat.setAlignment(Qt::AlignJustify); - blockquote_tableformat.setLeftMargin(20.0 * themed_style.indent_bq); + + // We set blockquote indent manually, since it is a table. + blockquote_tableformat.setLeftMargin(themed_style.indent_size * themed_style.indent_bq); blockquote_tableformat.setBottomMargin(20.0); list_format.setStyle(themed_style.list_symbol); |
