Text field appears with a blank line

Hi,

I have a textfield with the following configuration:

    <textField isStretchWithOverflow="true" isBlankWhenNull="true">
                    <reportElement key="textField" positionType="Float" stretchType="RelativeToBandHeight" x="109" y="24" width="157" height="41" isPrintWhenDetailOverflows="true" uuid="0b8e7f76-c757-4b8b-958c-a1d9d419338a"/>
                    <textElement textAlignment="Justified" verticalAlignment="Bottom">
                        <font fontName="Trebuchet MS" isBold="false" isUnderline="false" isStrikeThrough="false" pdfFontName="templates/Fonts/trebuc.ttf" pdfEncoding="Cp1252" isPdfEmbedded="true"/>
                    </textElement>
                    <textFieldExpression><![CDATA[$F{CLIENT_NAME}]]></textFieldExpression>
 </textField>

 

When I have 31 characters, it shows correctly:

But, if I have one more char, appear a blank line.

 

 

It only happens in Linux.

Any idea?

 

Thanks

 

 

ing.danielarodriguez's picture
Joined: Apr 30 2019 - 1:49pm
Last seen: 16 min 6 sec ago

Set text alignment on top. and try again.

mahadiosb - 4 days 22 hours ago

But with this alignment, I am going to have more blank spaces.

ing.danielarodriguez - 46 min 59 sec ago

0 Answers:

No answers yet
Feedback
randomness