lires5 Posted November 16, 2016 Share Posted November 16, 2016 Hi! I'm making a report that contains subreport. The subreport has a table which iterates a set of regs that I supply via report properties. Each attribute of every reg is in textfield item. Some regs have larges values in their attributes, and the width of text field is not enough to show the string. So, I actived the "Stretch with overflow" option in all textfields, but when I run my app, then the generated report contains several spaces among lines wich have large text. Could anybody help me to find a solution for delete those spaces? Thanks. Link to comment Share on other sites More sharing options...
Balraj Posted November 18, 2016 Share Posted November 18, 2016 Specify: StretchType-> "RelativeToTallestObject" for all the TextFields Link to comment Share on other sites More sharing options...
lires5 Posted November 18, 2016 Author Share Posted November 18, 2016 Thank you JasperExplorer.I'll implement your alternative, then I'll be post the results.EDITED:I've applied the change. The fields in the same line were correctly adjusted in their height. But there is a space between the lines. That space is generated when I put the "Stretch with overflow" option in all textfields. I'll try to upgrade the jasper library (actually i'm in 6.0.0) to see some alternatives.If somebody has a solution, please let me know.NOTE: On attached image, the generated space is marked with red.Thanks in advance. Link to comment Share on other sites More sharing options...
Solution Balraj Posted November 22, 2016 Solution Share Posted November 22, 2016 I think, that extra space is a Report Design Issue, please review your report design. If you observe that extra space is there in the image that you posted earlier. So it might be a design issue.Best Regards,JasperExplorer Link to comment Share on other sites More sharing options...
lires5 Posted November 23, 2016 Author Share Posted November 23, 2016 Hi! Again, thank you JasperExplorer! Let me tell you that I could solve the problem with the strange space. I've grouped the text fields in the row with a frame. And on that frame I put the following values in these parameters:Position Type: FloatStretch Type: No Stretch.The result was this: Thanks for the support, and I hope the solution works for anybody who needs it. Link to comment Share on other sites More sharing options...
Balraj Posted November 24, 2016 Share Posted November 24, 2016 Perfect..!!! Glad that my views were helpful for you, Consider to "Accept the Answer". It will be helpful for others. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now