I have one trailing space in the Text property of a StiText. When the report is rendered, this trailing space is removed. I tried to set the option StiOptions.Engine.MeasureTrailingSpaces to true, but it doesn't change anything (I use the latest version).
If I put two trailing spaces, then, the two spaces are well rendered, it's very strange.
How do I keep trailing spaces always displayed ?
Trailing spaces
-
- Posts: 6266
- Joined: Tue Mar 20, 2018 5:34 am
Re: Trailing spaces
Hello,
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.
Please send us a sample report with test data that reproduces the issue for analysis.
Thank you.
Re: Trailing spaces
There is no need to have data. In the report in attachment, I only put a StiText with the text "There should be a space after the colon : ". This trailing space is never rendered.
- Attachments
-
- Report.mrt
- (9.26 KiB) Downloaded 104 times
-
- Posts: 6266
- Joined: Tue Mar 20, 2018 5:34 am
Re: Trailing spaces
Hello,
That option StiOptions.Engine.MeasureTrailingSpaces is supported only in the .net version.
In the web version, is available StiOptions.Export.Html.PreserveWhiteSpaces option (true by default) and it is working only with 2 or more spaces in the end of the string due to the web browser specifics of rendering.
Thank you.
That option StiOptions.Engine.MeasureTrailingSpaces is supported only in the .net version.
In the web version, is available StiOptions.Export.Html.PreserveWhiteSpaces option (true by default) and it is working only with 2 or more spaces in the end of the string due to the web browser specifics of rendering.
Thank you.