line wrap in a text field

-1
I am developing a JasperReport template using iReport 2.0.0.

However, I have discovered that input into some of the text fields is being truncated when the text field is not large enough to hold the entire string on one line.

How do I make the string wrap so that the remaining portion of the string will be displayed in the field.

I have set the stretchWithOverFlow, but the string is still being truncated.
snappersdad's picture
Joined: Feb 11 2008 - 1:36am
Last seen: 11 years 11 months ago

2 Answers:

0
stretchWithOverFlow should fix your problem. Could you post an image of your issue?
svenn's picture
1393
Joined: Mar 19 2007 - 5:57am
Last seen: 12 years 10 months ago
1
I got it!

When I went looking through the forums I was asking the wrong question! :ohmy:

What I really needed to know was how to dynamically increase the height of a text field.:cheer:

When I did another search using that filter I pretty quickly came across what I was looking for.:lol:

What I ended up having to do was the following:

1) Set position type of the field to float
2) Set stretch type to relative to tallest object
3) Turn stretch with overflow on
snappersdad's picture
Joined: Feb 11 2008 - 1:36am
Last seen: 11 years 11 months ago
Feedback