Page 1 of 1

Text box auto width not working properly with leading spaces

Posted: Fri Nov 06, 2020 6:40 am
by Artimidor
As problems are piling up in the other thread I've started (Variables/calculated columns not working), and I haven't received a reply from you in this regard, I'll put this separate issue in a new thread. So here it is.

See the attached screenshots (I've updated them, so that you can see at one glance where the problem lies).

- I add a textbox to the data band.
- The text box is set to "Auto Width".
- In the text box, we use the attached expression to display the field with the intention of adding spaces ahead of the text, followed by the category level.
- The leading spaces are displayed, however they are ignored when the size of the field is being determined. If the space is replaced with a character like "x" the text boxes stretches properly.

Looks like a bug - or is there a reason for this behavior? How can we make sure that the whole string expression we put together is displayed?

Thanks for any input!

Re: Text box auto width not working properly with leading spaces

Posted: Mon Nov 09, 2020 3:30 pm
by Lech Kulikowski
Hello,

Please send us a sample report that reproduces the issue for analysis.

Thank you.