Jump to content

Adjustable size of textfield


GeertPoels

Recommended Posts

Hello,

 

I've created a simple report with a subreport.

Both reports show records and contain multiple textfields.

Their content is filled with the values of a custom programmed datasource(a JRRewindableDataSource).

 

Sometimes these values can be a single word, sometimes they contains a very long text.

How can I define that a textfield'height grows, depending on its content ?

Because if I foresee enough space for every possible content, I loose a lot of height to blank space.

 

Thanks !

 

Geert

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Thanks.

That worked.

 

What are the differences between stretch to tallest object and stretch to band height ?

 

I'd like to 'color' my rows.

Now I had a colored rectangle behind my textfields.

With this stretch, the color doesn't follow.

Any tricks on how to do this ?

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