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

Background color does not fill white-space for non-stretched elements in detail band


moffit

Recommended Posts

 Hi,

  I'm using alternate coloring for my rows - I've used conditional styles as well as a floating rectangle.  In both cases, the coloring worked but with a hitch.  When one element is set to stretch with overflow, the other elements are not also stretched.  This is in the detail band.  So the stretched element might be 100 px tall and gets the full background fill color while the other elements, which do not need to stretch, have a large amount of whitespace below them.

I've tried to set the stretch on the other elements, but without any luck.  It appears that the vertical stretching in Jasper is per field only - the detail band must also stretch to accomodate the tallest element, but this height is not applied to all other elements in the band.

Is there a way to ensure that all element's height are the same as the band at run-time (i.e. after the band has calculated the amount of space required for the tallest field)?

Please see attachment 1 for an example screenshot.

Thanks

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...