Jump to content
We've recently updated our Privacy Statement, available here ×

TextField width problem


syahirasuhaimi

Recommended Posts

Hi, 

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"/>
                </textElement>
                <textFieldExpression class="java.lang.String"><![CDATA[$F{address1}]]></textFieldExpression>
</textField>

Kindly refer the picture of the pdf. 

Thank you in advance.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...