Global variable height gets additional 2 pixels
Brought to you by:
djmamana,
martingoros
I think it is not correct to add 2 pixels to height of the global variable text field in report.
In ClassicLayoutManager.placeVariableInBand there is globalTextField.setHeight(2 + height ); //XXX be carefull with the "2+ ..."
So the value field gets different height than the label of the value which has the following line in same method:
textField.setHeight(0 + height ); //XXX be carefull with the "2+ ..."
I am using DJ 3.1.5.
There was an issue here, and the "2 + ..." was the workaround to make it work. I have to remember the scenario where not adding the "2" was a problem... shame on me I did not documented properly.
could you please give an example situation where having it as it is now generates improper layput?
thank you!