I am currently developing a report using iReport 4.7.0. At the moment, I'm trying to figure out how to dynamically adjust the height of a text field if its content is too large for the initial height. This variant of Stretch on overflow seems to achieve this. But I have problems with that.
If the textField is not stretched, the spacing before and after the text is good, because it is achieved by setting the height of the text field above the font size. But if textField gets dynamically more, because the containing text should be displayed for a long time with the initial height, the lines seem horribly packed, there is no interval between them.
I tried to resolve this by setting Interval and Interval after for a specific text field, but it seems to end in JasperReports thinking that the text field does not need to re-size at all, even if the text does not fit.
Is it possible that the calculation takes into account the size created by the Interval before and Interval after when changing parameters if it is necessary to change the size of the text field during overflow? Or am I doing something wrong here?
padde source share