简体   繁体   中英

How to expand frames dynamically in JasperReports?

frame
  text field: short | text field: very long text causing linebreak
frame
  other elements

How do I have to configure jasper reports so that the long text field moves all subsequent frames and elements down? (ie: causes a resize of the frames dynamically)?

Solution: make the text fields float; stretch relative to tallest object; overflow float; stretch relative to tallest object; overflow float; stretch relative to tallest object; overflow and make the surrounding frames float; no stretch float; no stretch .

This is very counter-intuitive that an expanding frame will have to be set to no stretch in order to expand, and move any subsequent elements down accordingly.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM