Jump to content
Changes to the Jaspersoft community edition download ×

automatic line feed in textfield


feuerwehr

Recommended Posts

Hello,

Sorry, but I don't understand how I do the following: If the text in the keyword field is longer than
the text field,
how do I make an automatic line break so that the field just gets
bigger and everything slides down, does that work somehow?

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

On the text field, you can set the "Strech with Overflow".  That will allow the field to grow in depth.

    <textField isStretchWithOverflow="true" isBlankWhenNull="false">        <reportElement x="0" y="49" width="338" height="11" forecolor="#000000" uuid="daf8019a-1333-4539-a677-497e98d1b99b"/>        <textElement>            <font fontName="Arial" size="8"/>        </textElement>        <textFieldExpression><![CDATA[$V{ESC}]]></textFieldExpression>    </textField>[/code]

 

Link to comment
Share on other sites

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