Transferred from the Adobe Open Source Subversion Repository
Transferred from the Adobe Open Source Subversion Repository

Revision: 3724
Author:   gruehle@adobe.com
Date:     2008-10-17T21:42:20.548422Z

Log Message: 
-----------
Text style changes:

* Default text styles for Gumbo components are temporarily placed on type selectors (as of revision 3528). This checkin changes those selectors to just two: TextGraphicElement and TextView. This makes the default font work correctly for all 5 text-related tags - TextBox, TextGraphic, TextView, FxTextArea, and FxTextInput.

* Since the default text styles are temporarily on type selectors, setting text styles on component tags was not working. This checkin fixes that by explicitly setting the "styleName" property of the labelField (Button) and textView (FxTextBase) skin parts to the component itself. This way, any styles set on the component will take precedence over styles set on the text type selectors.

QE Notes: Text styles can be set on component tags (ie <FxButton fontSize="24" />). This should be tested.
Doc Notes: We should add a release note about changing the default text styles for Gumbo components. This is done on the TextGraphicElement and TextView type selectors.
Bugs: SDK-17159
Reviewer: Deepa

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1274812 13f79535-47bb-0310-9956-ffa450edef68

SlavaRa/flex-sdk,apache/flex-sdk,shyamalschandra/flex-sdk,adufilie/flex-sdk,danteinforno/flex-sdk,danteinforno/flex-sdk,adufilie/flex-sdk,apache/flex-sdk,apache/flex-sdk,adufilie/flex-sdk,adufilie/flex-sdk,apache/flex-sdk,SlavaRa/flex-sdk,danteinforno/flex-sdk,shyamalschandra/flex-sdk,SlavaRa/flex-sdk,SlavaRa/flex-sdk,shyamalschandra/flex-sdk,danteinforno/flex-sdk,adufilie/flex-sdk,shyamalschandra/flex-sdk,shyamalschandra/flex-sdk,SlavaRa/flex-sdk,shyamalschandra/flex-sdk,danteinforno/flex-sdk,apache/flex-sdk,danteinforno/flex-sdk,adufilie/flex-sdk,SlavaRa/flex-sdk,apache/flex-sdk