flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Fritze (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-15004) PrintDataGrid uses the height of the first page for all subsequent pages, regardless of the available space on the page (height=100% is ignored)
Date Thu, 27 Mar 2014 13:55:22 GMT

     [ https://issues.apache.org/jira/browse/FLEX-15004?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcus Fritze updated FLEX-15004:
---------------------------------

    Attachment: PDG_results.pdf
                MultipagePDG.zip

attachments restored

In the attached example in the FormPrintView.mxml showPage() function set:

myDataGrid.percentHeight = 100;

before the "validateNow();" solves this problem.

In the example in the printed page, a header and a footer is used. So the size of the PrintDataGrid
was still the size of the first page. When creating the next page, the size should be recalculated
(by setting the myDataGrid.percentHeight = 100; ). So not really a bug.

Issue fixed and can be closed.

> PrintDataGrid uses the height of the first page for all subsequent pages, regardless
of the available space on the page (height=100% is ignored)
> ------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-15004
>                 URL: https://issues.apache.org/jira/browse/FLEX-15004
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: PrintDataGrid
>    Affects Versions: Adobe Flex SDK 3.0 (Release)
>         Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>            Priority: Minor
>         Attachments: MultipagePDG.zip, PDG_results.pdf
>
>
> Steps to reproduce:
> 1. Create multipage printing application from the SDK Help (see attachments)
> 2.  Set the header height to some noticeable value
> 3.  print 
>  
>  Actual Results:
> PDG height on ALL pages equals to the PDG height on the first page
>  Expected Results:
> PDG should readjust each page to the 100% avalaible height on the page
>   
>  Workaround (if any):



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message