Jump to content
JasperReports Library 7.0 is now available ×

Fields aligning


Recommended Posts

By: Lecio Nunes - lnunes

Fields aligning

2002-11-07 11:36

Hi,

 

I need a way to align some fields horizontally.

The report have a look some like this:

 

<field A>

<field B> <field C> <field D>

 

The field A can use various lines (isStretchWithOverflow="true") and when it has several lines field B goes down, but the others no.

I need to put them (B, C and D) aligned horizontally.

I've tried to put an invisible line between field A and the others, but it didn't worked.

 

How can I do that?

 

Lecio.

 

 

By: Teodor Danciu - teodord

RE: Fields aligning

2002-11-07 13:13

 

Hi,

 

I can assure you it works.

 

Note that the B, C, D and the line should have

all positionType="Float".

The line should be exactly between A and the other

B, C and D elements.

It should not "touch" or "cut" any of these elements and should be long enough to be above C and D also.

 

Invisible line means white line on white background

and not a line with a <printWhenExpression> that

returns always false.

 

If you don't succeed, I could do it for you:

 

teodord@hotmail.com

 

But I'm confident that you will make it.

 

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