[英]How to expand frames dynamically in JasperReports?
frame
text field: short | text field: very long text causing linebreak
frame
other elements
如何配置jasper報告,以便長文本字段將所有后續幀和元素向下移動? (即:動態調整框架的大小)?
解決方案:使文本字段float; stretch relative to tallest object; overflow
float; stretch relative to tallest object; overflow
float; stretch relative to tallest object; overflow
並使周圍的框架float; no stretch
float; no stretch
。
這是非常違反直覺的,必須將擴展框架設置為no stretch
才能擴展,並相應地向下移動任何后續元素。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.