You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Alex Harui (JIRA)" <ji...@apache.org> on 2014/11/25 19:11:13 UTC
[jira] [Resolved] (FLEX-34644) Datagrid - Rectangle bounds problem
[ https://issues.apache.org/jira/browse/FLEX-34644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Harui resolved FLEX-34644.
-------------------------------
Resolution: Fixed
Fix Version/s: Apache Flex 4.14.0
Fixed d216a697d8da3344de54c79d3d12060e396dfb96
> Datagrid - Rectangle bounds problem
> -----------------------------------
>
> Key: FLEX-34644
> URL: https://issues.apache.org/jira/browse/FLEX-34644
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: DataGrid
> Affects Versions: Apache Flex 4.13.0
> Environment: All OS, all Flash Player Version
> Reporter: Anthony
> Fix For: Apache Flex 4.14.0
>
>
> I have a problem with datagrid, when I fill with a big dataprovider, the bounds of datagrid is bigger than that is display. So the elements display on bottom of datagrid and smallest depth are unreachable.
> If I select "show redraw regions" options with Flash Player, I can see that the height is bigger than the real height display (red rectangle display in image).
> With the Flex SDK 4.6, this problem seems not appear, but with the Flex SDK 4.9 to SDK 4.13, the problem appears.
> With this sample, you can test the problem :
> [CODE]
> <?xml version="1.0" encoding="utf-8"?>
> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
> xmlns:s="library://ns.adobe.com/flex/spark"
> xmlns:mx="library://ns.adobe.com/flex/mx"
> minWidth="955" minHeight="600"
> creationComplete="application1_creationCompleteHandler(event)"
> >
> <fx:Script>
>
> <![CDATA[
> import mx.collections.ArrayCollection;
> import mx.events.FlexEvent;
>
> protected function application1_creationCompleteHandler(event:FlexEvent):void
> {
> var provider : ArrayCollection = new ArrayCollection();
>
> for(var i : int = 0; i < 1000; i++)
> {
> provider.addItem({index : i, label : 'test '+i});
> }
>
> dg.dataProvider = provider;
> }
>
> ]]>
> </fx:Script>
> <s:TextInput id="ti" horizontalCenter="0" bottom="50" prompt="sample..." width="300"/>
>
> <s:VGroup horizontalCenter="0" width="50%" paddingLeft="20" paddingRight="20" paddingTop="20" paddingBottom="20">
> <s:DataGrid width="100%" requestedRowCount="5" id="dg">
> <s:columns>
> <s:ArrayList>
> <s:GridColumn dataField="index" headerText="Index" />
> <s:GridColumn dataField="label" headerText="Test" />
> </s:ArrayList>
> </s:columns>
> </s:DataGrid>
> </s:VGroup>
> </s:Application>
> [/CODE]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)