Jump to content

Stretch rectangle around field as it grows.


murilo

Recommended Posts

Hi! I just searched the forum and couldn't find a solution to my problem, so here it is, I have a rectangle around two elements in which one might grow larger than its original size (stretch with overflow) so the rectangle around it should grow with it, but it doesn't! I've tried all possible different combinations of stretch types with fields and the rectangle, also tried grouping them, but nothing worked! The text always overflows going over the rectangle :(

 

The worst part is i need it urgently! Is there a solution for this? Thanks in advance for any info!

Link to comment
Share on other sites

  • Replies 7
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

spipe wrote:

dont use a rectagle if it s urgent but a background color:lol:

 

The problem with the way you suggest, i can have no left/right margin between the text and the box, and that looks ugly and the client doesn't want it like that :(

 

But I found a work around, for each field which needs that box around, i made it into a subreport and put the field and the box in the detail band, so when the detail band stretches because of the stretching field, i tell the surrounding box to stretch with it(RelativeToBandHeight option), so now i can have that darn box around the field! But i still wish there was an easier way to accomplish this!

Link to comment
Share on other sites

spipe wrote:

dont use a rectagle if it s urgent but a background color:lol:

 

The problem with the way you suggest, i can have no left/right margin between the text and the box, and that looks ugly and the client doesn't want it like that :(

 

But I found a work around, for each field which needs that box around, i made it into a subreport and put the field and the box in the detail band, so when the detail band stretches because of the stretching field, i tell the surrounding box to stretch with it(RelativeToBandHeight option), so now i can have that darn box around the field! But i still wish there was an easier way to accomplish 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...