Skip to content

Commit

Permalink
Fix More pages in PDF vs HTML due to HTML controls size(T63153)
Browse files Browse the repository at this point in the history
  • Loading branch information
gliu committed Jul 29, 2013
1 parent b49595a commit e4ac4ed
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -86,6 +86,11 @@ public ForeignHTMLRegionLayoutEngine( ContainerArea container,
public void layout( IContent content ) throws BirtException
{
current.initialize( );
//if width is specified. set MAX width
if (current.specifiedWidth > 0)
{
current.setMaxAvaWidth(current.specifiedWidth);
}
if ( current.getSpecifiedHeight( ) <= 0 )
{
visitChildren( content, this );
Expand Down

0 comments on commit e4ac4ed

Please sign in to comment.