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/25 02:48:01 UTC
[jira] [Created] (FLEX-33846) spark datagrid horizontal scroll bar
may not show when added as child of divided box
gkk created FLEX-33846:
--------------------------
Summary: spark datagrid horizontal scroll bar may not show when added as child of divided box
Key: FLEX-33846
URL: https://issues.apache.org/jira/browse/FLEX-33846
Project: Apache Flex
Issue Type: Bug
Components: mx: DividedBox, Spark: DataGrid
Affects Versions: Apache Flex 4.10.0, Apache Flex 4.11.0
Environment: FB 4.7, SDK 4.10.0, SDK 4.11 rc2, SDK nightly build 10/24/2013
Reporter: gkk
Priority: Minor
Run the application below. When using mx:DividedBox and including spark datagrid as child, resizing the divided box, in some cases, doesn't draw the datagrid's horizontal scroll bar.
Originally saw in 4.10.0 using Flash Builder 4.7. Verified still in nightly build on 10/24/2013 (targeted for 4.12).
------ example 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="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="left" paddingLeft="30" paddingTop="30">
<s:Label text="1. Click and drag divider bar lower to shrink height of datagrid"/>
<s:Label text=" to display about 1.5 rows."/>
<s:Label text="2. Notice the HorizontalScrollBar disappears for certain heights."/>
<mx:DividedBox backgroundColor="0xaa0000" >
<s:TextArea height="30" width="300" text="This is a text area."/>
<s:DataGrid id="dg1" width="300">
<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>
</mx:DividedBox>
</s:VGroup>
</s:Application>
--
This message was sent by Atlassian JIRA
(v6.1#6144)