Jump to content
Changes to the Jaspersoft community edition download ×

Dynamic size of Rectangles ??


Recommended Posts

By: Thomas Richter - hornet_f4c

Dynamic size of Rectangles ??

2003-04-16 07:49

Hey guys !!

I have a report where the people want to have a text section with a one-line-border. No problem at the first hand - I simply draw a rectange around the textfield. But problem is, the textfield isStretchwithOverflow="true" so it changes it's size when more text is displayed. How can I link the rectangle to the textfield so that it always properly surrounds it regardless of the textfields dynamic size ??

 

Thanks in advance

 

 

 

 

By: Teodor Danciu - teodord

RE: Dynamic size of Rectangles ??

2003-04-16 14:31

 

Hi,

 

Put the text field and the rectangle together in an

<elementGroup> tag.

Then use stretchType="RelativeToTallestObject" for

the rectangle along with isPrintWhenDetailOverflows="true".

 

I hope this helps.

Teodor

 

 

 

 

 

By: Mark Hayes - markh46

RE: Dynamic size of Rectangles ??

2003-05-06 01:45

Is there a similar technique to get all <textField>'s within a <band> to stretch if any <textField> overflows? I am getting empty cells in the CSV when a single <textField> stretches.

 

 

 

 

By: Teodor Danciu - teodord

RE: Dynamic size of Rectangles ??

2003-05-07 13:55

 

Hi,

 

Sorry, there is no such similar technique for

the text elements.

It is available only for graphic elements and not text

elements.

 

Thank you,

Teodor

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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