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

textfield text shifting if text overruns the area


tedpet

Recommended Posts

I am creating my JasperReport from my Java app. i have a textField with "$F{meetingPurpose}" to define where the text comes from. I notice that if the amount of text will not fit in the textField, the resultant text will be baseline shifted down about 1/2 the Cap height.

Has anyone else seen this?

textField isStretchWithOverflow="true">
reportElement uuid="2e3604dd-1f53-44d6-ab66-b3e41732955b" x="247" y="229" width="232" height="20"/>
textElement>
font fontName="CBSwiss721BT-Light"/>
/textElement>
textFieldExpression>![CDATA[$F{meetingPurpose}]]>/textFieldExpression>
/textField>

 

if ![CDATA[$F{meetingPurpose}]] has enough text to extend past the width="232" limit, the whole  textField is baseline shifted down about 1/2 Xheight.

 

iReport 4.7.1

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 2 weeks later...

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...