【发布时间】:2026-02-07 17:35:01
【问题描述】:
在 Detail Band 中,Frame (F1) 中存在多个 TextField。所有 textField 都设置了 position Type: Float 和 Stretch Type: Relative To Tallest Object 属性。当长文本在 textField 中换行时,框架高度会发生变化,并且其底部边框会消失。我添加了另一个框架(F2),其在框架(F1)下方具有位置类型:浮动。当 frame(F1) 拉伸时,这个 Frame 不会出现。
<frame>
<reportElement positionType="Float" mode="Opaque" x="387" y="333" width="342" height="24" isPrintWhenDetailOverflows="true"/>
<box>
<pen lineWidth="1.0" lineColor="#BED4E9"/>
<topPen lineWidth="1.0" lineColor="#BED4E9"/>
<leftPen lineWidth="1.0" lineColor="#FFFFFF"/>
<bottomPen lineWidth="1.0" lineColor="#BED4E9"/>
<rightPen lineWidth="1.0" lineColor="#FFFFFF"/>
</box>
<line>
<reportElement positionType="Float" x="0" y="1" width="1" height="22" forecolor="#FFFFFF" backcolor="#FFFFFF"/>
</line>
</frame>
任何帮助将不胜感激......
【问题讨论】:
标签: jasper-reports