You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "gkk (JIRA)" <ji...@apache.org> on 2013/10/28 18:10:30 UTC
[jira] [Created] (FLEX-33851) Spark datagrid shakes when column
resize
gkk created FLEX-33851:
--------------------------
Summary: Spark datagrid shakes when column resize
Key: FLEX-33851
URL: https://issues.apache.org/jira/browse/FLEX-33851
Project: Apache Flex
Issue Type: Bug
Components: Spark: DataGrid
Affects Versions: Apache Flex 4.12.0
Reporter: gkk
Priority: Minor
Description
Testing nightly build on Oct 27, 2013, an odd spark datagrid column resize behavior was observed. (Note, this is pre-release 4.12 version)
Steps to Reproduce
Download nightly build, and run the example code provided below. Left-click mouse on header column separator between first two columns and drag to the right to make column 1 width larger.
Environment
Mac OSX 10.6.8, Nightly Build from 10/27/2013, Flash Builder 4.6 and 4.7
Expected Behavior
The column should still be able to resize, and during resize, the datagrid should not shake visibly.
Actual Behavior
As column 1 width increases, the datagrid visible shakes. When the width becomes sufficiently large, the label text above the datagrid also shakes visibly.
--------- run this example application to observe bug -------------
<?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="600" minHeight="600">
<fx:Declarations>
<fx:String id="sampleText">Lorem Ipsum is the standard dummy text of the typesetting industry.</fx:String>
</fx:Declarations>
<s:VGroup horizontalAlign="center" paddingLeft="30" paddingTop="30">
<s:Label text="Instructions: Left-click (and hold) mouse on the column-separator in header between columns 1 and 2, then drag it to the right and observe the datagrid shakes visibly."/>
<s:DataGrid id="dg1">
<s:columns>
<s:ArrayList>
<s:GridColumn dataField="value" headerText="Column 1" width="200"/>
<s:GridColumn dataField="value" headerText="Column 2" width="200"/>
</s:ArrayList>
</s:columns>
<s:ArrayCollection>
<s:DataItem value="{sampleText}"/>
<s:DataItem value="{sampleText}"/>
<s:DataItem value="{sampleText}"/>
</s:ArrayCollection>
</s:DataGrid>
</s:VGroup>
</s:Application>
--
This message was sent by Atlassian JIRA
(v6.1#6144)