Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Grid with margins - unexpected behavior
Tomas.Vala
<p>Hello,</p><p> </p><p>here's the thing.</p><p> </p><p>1. One-column grid is placed on an empty rptdesign, all attributes are left to defaults.</p><p>- Looks as expected in designer. OK</p><p>- Renders as expexted. OK</p><p> </p><p>2. Now set all margins to i.e. 3cm.</p><p>- Looks as expected in designer.</p><p>- Renders respecting left and top margins. OK</p><p>- Left-margin is not deducted from grid width. Grid width is too big to fit the page, right part of grid is therefore rendered off-page and not to be seen. WRONG</p><p>- No matter whether grid width is left undefined (default) or set to 100% it's being rendered too big to fit the page. Makes no sense. WRONG</p><p> </p><p>See attachments.</p><p> </p><p>That surely can't be right. At minimum editor-designer view is not wysiwyg and behavior of renderer not what one would expect to be.</p><p> </p><p>It's frustrating to keep hitting and wrestling oddities like this.</p><p> </p><p>Regards,</p><p>Tomas</p>
Find more posts tagged with
Comments
kclark
<p>What version of birt are you using?</p>
Tomas.Vala
<p>Hello,</p><p> </p><p>BIRT 4.2.x and 4.3.1.</p><p> </p><p>I originally attached output.html to demonstrate the result but same happens with PDF output.</p><p> </p><p>Regards,</p><p>Tomas</p>
kclark
<p>I'm trying to find a good workaround for you. The only thing I've been able to do as you've done in your example is set canshrink to true. You might be able to adjust the right padding by subtracting the left from the onCreate() Can you <a data-ipb='nomediaparse' href='
http://eclipse.org/birt/phoenix/reportabug.php'>file
a bug</a> for this please?</p>