How to expand frames dynamically in JasperReports?

那年仲夏 提交于 2021-01-27 21:23:17

问题


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)?


回答1:


Solution: make the text fields float; stretch relative to tallest object; overflow and make the surrounding frames 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.



来源:https://stackoverflow.com/questions/28986738/how-to-expand-frames-dynamically-in-jasperreports

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!