TextField width problem


I have a problem with my text field width, I been calling my address from DB, but after generating the pdf, the last digit/letter of the address goes down. 

Here are my codes:

<textField isStretchWithOverflow="true">
                <reportElement x="63" y="76" width="500" height="25" />
                <textElement verticalAlignment="Middle" lineSpacing="Single" markup="styled">
                    <font fontName="SansSerif" size="10" isBold="false" isItalic="false" isPdfEmbedded="true"/>
                <textFieldExpression class="java.lang.String"><![CDATA[$F{address1}]]></textFieldExpression>

Kindly refer the picture of the pdf. 

Thank you in advance.

syahirasuhaimi's picture
Joined: Jan 22 2020 - 12:04am
Last seen: 3 years 7 months ago

0 Answers:

No answers yet