1

我设置isStretchWithOverflowtextField真,这样整个字符串就会出现。这很好用,但第二行的缩进不像第一行。实际上,第二行根本没有缩进。看看第二个和第三个条目: 在此处输入图像描述

这是文本字段:

    <textField isStretchWithOverflow="true">
        <reportElement uuid="08242c22-8c1f-4c9a-90c9-0bc7cc9019d3" style="Sans_Normal" mode="Opaque" x="0" y="4" width="300" height="15" backcolor="#E5ECF9"/>
        <textElement textAlignment="Left"/>
        <textFieldExpression><![CDATA[$F{Description}]]></textFieldExpression>
    </textField>

我想要集成发布。就在这个文件下...... 第三个条目也是如此。我尝试使用 iReport 设置/更改某些属性,但找不到任何解决此问题的方法。


更新

我将文本字段更改为:

        <textField isStretchWithOverflow="true">
            <reportElement uuid="7399fe90-aea8-48d6-b2b2-9435f8d80198" style="Sans_Normal" mode="Opaque" x="0" y="4" width="300" height="15" backcolor="#E5ECF9"/>
            <box leftPadding="-10"/>
            <textElement/>
            <textFieldExpression><![CDATA[$F{Description}]]></textFieldExpression>
        </textField>

但这只是将整个条目向左移动。

4

0 回答 0