[svn:fx-trunk] 11452: Couple of various fixes.
Revision: 11452
Author: klin@adobe.com
Date: 2009-11-04 17:43:45 -0800 (Wed, 04 Nov 2009)
Log Message:
***********
Couple of various fixes.
ComboBox.as - The dropDown was not receiving changes to styles nor dataproviders. This was a result of not recreating the dropDown each time it was shown. I've changed the default of the flag for destroying the dropDown to be true. I've also modified the code to only not destroy the dropDown when it is showing or being shown.
ButtonBar.as - In one case, when calculating the percentage that each button takes of the width, there was a rounding error that caused the total percentage to be less than 100%. I've changed the code to use Numbers to avoid the rounding error.
DropDownList.as - I've fixed the page down code to take into account the case when selectedIndex==-1.
Label.as, SWFLoader.as, TextInput.as - Excluded baseColor style.
TitleWindowBoundsEvent.as - ASDoc change. "afterBounds" is always null when the "windowMoveStart" event is dispatched
QE notes: No
Doc notes: No
Bugs: SDK-21715, SDK-23338, SDK-23512, SDK-23838, SDK-23660
Reviewer: Chet
Tests run: checkintests, ButtonBar, ToggleButtonBar, tabnavigator
Is noteworthy for integration: No
Ticket Links:
************
http://bugs.adobe.com/jira/browse/SDK-21715
http://bugs.adobe.com/jira/browse/SDK-23338
http://bugs.adobe.com/jira/browse/SDK-23512
http://bugs.adobe.com/jira/browse/SDK-23838
http://bugs.adobe.com/jira/browse/SDK-23660
Modified Paths:
**************
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as
flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as
flex/sdk/trunk/frameworks/projects/spark/src/spark/events/TitleWindowBoundsEvent.as
