Ah, right, sorry about that. The comments in the bug propose a workaround which is to call styleChanged on the HScrollBar. You could simply try that workaround (hook it up to a button instead of a stateChange/updateComplete) and see if it makes a difference.
-Alex On 10/24/13 4:26 PM, "[email protected]" <[email protected]> wrote: >Hi Alex, As you indicated in the case, the fix didn't make it into 4.11 >rc2: "RC2 has been cut without a fix and will probably be the actual >release." What's the easiest way for me to test? (I'm not familiar with >Ant or other scripts to compile myself) > >----- Original Message ----- > >From: "Alex Harui" <[email protected]> >To: [email protected] >Sent: Thursday, October 24, 2013 2:01:50 PM >Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior >changes based on app's state history > >It would be best if you get 4.11 and test the fix for FLEX-33830 and >close >the bug if it is. Generally, it is the bug filer's responsibility to >verify fixes. > >And then that will mean you have 4.11 so you can see if it fixes this >issue as well. > >-Alex > >On 10/24/13 10:49 AM, "[email protected]" <[email protected]> >wrote: > >>Hi Alex, I wonder if the fix you made for this case >> >>https://issues.apache.org/jira/browse/FLEX-33830 >> >>also fixes the following bug I'm seeing with spark datagrid, in this >>case, used as child of DividedBox. Can you run this simple test with the >>latest build containing all the fixes, and let me know if this is a new >>bug or not? If new, I'll enter a JIRA. Thanks >> >> >> >><?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> >> >>----- Original Message ----- >> >>From: [email protected] >>To: [email protected] >>Sent: Thursday, October 17, 2013 8:55:30 AM >>Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior >>changes based on app's state history >> >>Thanks Justin, I didn't see anything in JIRA for this, so I entered it >>as >>case FLEX-33830. >> >>https://issues.apache.org/jira/browse/FLEX-33830 >> >> >> >><?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> >> >>----- Original Message ----- >> >>From: "Justin Mclean" <[email protected]> >>To: [email protected] >>Sent: Wednesday, October 16, 2013 5:41:23 PM >>Subject: Re: SDK 4.10.0 spark datagrid horizontal scrollbar behavior >>changes based on app's state history >> >>Hi, >> >>> Can someone confirm if this is a bug (I'm assuming one bug, but let me >>>know if you think it's two)? >>> >>> If so, I'll enter into JIRA... >> >>Can confirm (and not fixed in 4.11) please enter it in JIRA. >> >>Think this issue may of come up before, you might want to search JIRA >>first to see if it's already in there. >> >>Thanks, >>Justin >> >> > >
