Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Specifying size in percentages
Specifying size in percentages [message #991289] Tue, 18 December 2012 06:37 Go to next message
Jan Krakora is currently offline Jan Krakora
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
Hi,

when I use let's say 50% height in general settings of a grid. What does it mean? 50% of the page? Its parent? The root component?

Does it mean for every report item something else? For example image:

"From the BIRT A field Guide book"
To maintain an image's aspect ratio, specify the width and height as a percentage of the original size.
For example, setting both the width and height to 80%, as shown in Figure 8-24, reduces the image size to 80% of the original size.

Thanks

Re: Specifying size in percentages [message #991389 is a reply to message #991289] Tue, 18 December 2012 15:52 Go to previous messageGo to next message
Michael Williams is currently offline Michael Williams
Messages: 1424
Registered: July 2009
Senior Member

If you set to 50%, it should be a percentage of the container. What are you seeing?

Michael
Actuate – The BIRT Company™

BIRT Developer Center
Check out the new, free BIRT Viewer Toolkit
Re: Specifying size in percentages [message #991848 is a reply to message #991389] Thu, 20 December 2012 05:43 Go to previous messageGo to next message
Jan Krakora is currently offline Jan Krakora
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
If I set its width to 100%, then the image is as wide as its container.

But whatever height is I set to it, its ignored and the image is proportionally scaled. I tried to set fit to container true/false, Proportional Scale to true/false. Without change.
Re: Specifying size in percentages [message #992051 is a reply to message #991848] Thu, 20 December 2012 14:03 Go to previous message
Michael Williams is currently offline Michael Williams
Messages: 1424
Registered: July 2009
Senior Member

Can you attach an example report and image showing what you're doing? Thanks!

Michael
Actuate – The BIRT Company™

BIRT Developer Center
Check out the new, free BIRT Viewer Toolkit
Previous Topic:emitter nativexls in BIRT Runtime 3.7.2
Next Topic:Dynamic sql
Goto Forum:
  


Current Time: Sun Apr 20 12:38:21 EDT 2014

Powered by FUDForum. Page generated in 0.02187 seconds