flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FLEX-32959) Invalid implementation of drawColumnBackground function in AdvancedDataGridBaseEx.as
Date Sat, 03 Aug 2013 16:09:48 GMT

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

Justin Mclean resolved FLEX-32959.
----------------------------------

       Resolution: Fixed
    Fix Version/s: Apache Flex 4.11.0

Checked into develop branch.
                
> Invalid implementation of drawColumnBackground function in AdvancedDataGridBaseEx.as
> ------------------------------------------------------------------------------------
>
>                 Key: FLEX-32959
>                 URL: https://issues.apache.org/jira/browse/FLEX-32959
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Advanced Data Grid
>    Affects Versions: Adobe Flex SDK 4.1 (Release)
>         Environment: Affected OS(s): All OS Platforms
> Affected OS(s): All OS Platforms
> Language Found: English
>            Reporter: Adobe JIRA
>              Labels: easyfix
>             Fix For: Apache Flex 4.11.0
>
>
> Steps to reproduce:
> 1. Open mx.controls.AdvancedDataGridBaseEx.as
> 2. Goto line #3937 (drawColumnBackground function)
>         // Height is usually as tall is the items in the row, but not if
>         // it would extend below the bottom of listContent
>         var height:Number = Math.min(lastRow.y + lastRow.height,
>                                      listContent.height - yy);
> 3. Check a next implementation line #3940
>         g.drawRect(xx, yy, headerInfo.headerItem.width,
>                    listContent.height - yy);
>  
> Why we are calculate a height of DataGrid if we are not using that variable?
>  Workaround (if any):
>  Override completely that function

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message