You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/08/03 18:09:48 UTC

[jira] [Resolved] (FLEX-32959) Invalid implementation of drawColumnBackground function in AdvancedDataGridBaseEx.as

     [ 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