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 11:37 Go to next message
Jan Krakora is currently offline Jan KrakoraFriend
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 20:52 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

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

Michael

Developer Evangelist, Silanis
Re: Specifying size in percentages [message #991848 is a reply to message #991389] Thu, 20 December 2012 10:43 Go to previous messageGo to next message
Jan Krakora is currently offline Jan KrakoraFriend
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 19:03 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

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

Michael

Developer Evangelist, Silanis
Previous Topic:emitter nativexls in BIRT Runtime 3.7.2
Next Topic:Dynamic sql
Goto Forum:
  


Current Time: Sun Aug 30 07:59:35 GMT 2015

Powered by FUDForum. Page generated in 0.01954 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software