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

Horizontal Stretching of a dynamic text box..


aselaneli

Recommended Posts

Hi all,

I'm trying to print a very long text inside a text box, with Horizontal Stretching. I have already tried the following options but those options only address the Vertical Stretching.

  1. Relative to band height

  2. Relative to tallest object

  3. Stretch with overflow

Can someone please tell me how to get Horizontal Stretching into action.

[ I'm using iReports 2.0.4 with Java 1.6.0_16. ]

Thanks in advance.

Cheers,

Asela.

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Jasper Report does not support horizontal stretching. Only vertical as you've found out.

One way to accomplish what you are tring to do is to complie you report at run time. That way you can manually build the text box and figure out how large to make it horizontally.

 

Link to comment
Share on other sites

  • 2 months later...
  • 5 years 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...