Jump to content
We've recently updated our Privacy Statement, available here ×

Text Field with "Stretch with overflow" generates vertical margin.


lires5
Go to solution Solved by Balraj,

Recommended Posts

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.

 

Seleccin_029(1).png.99040c97250736871222588b697f4754.png

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

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.

Seleccin_030.png.98b62279dfd59221458b3a6f8cc3520d.png

Link to comment
Share on other sites

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: Float
Stretch Type: No Stretch.

The result was this:

Seleccin_034.png.79830b2f4731a903105c330e8f74f214.png

 

Thanks for the support, and I hope the solution works for anybody who needs it.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...