Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Found in 4.0.0.10030.
Steps to reproduce:
1. Create a new Flex document.
2. In the project properties, set the compiler options to use the TLFText.css theme (by specifying -theme=${flexlib}\projects\spark\TLFText.css)
3. Copy and paste the attached MXML code and run the project.
Actual Results:
Halo/MX Label text doesnt render.
Expected Results:
Label text SHOULD render.
Workaround (if any):
Manually set textFieldClass style to mx.core.UITLFTextField.
—
<?xml version="1.0" encoding="utf-8"?>
<!-- -theme=${flexlib}\projects\spark\TLFText.css -->
<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/halo">
<fx:Style>
@namespace s "library://ns.adobe.com/flex/spark";
@namespace mx "library://ns.adobe.com/flex/halo";
@font-face
{ src: url("C:/Windows/Fonts/Arial.ttf"); embedAsCFF: true; fontFamily: ArialDF4; }@font-face
{ src: url("C:/Windows/Fonts/Arialbd.ttf"); embedAsCFF: true; fontFamily: ArialDF4; fontWeight: bold; }global
{ fontFamily: ArialDF4; }</fx:Style>
<s:Panel id="pnl" creationComplete="pnl.title = mx_internal::VERSION;">
<s:layout>
<s:VerticalLayout />
</s:layout>
<mx:Button id="btn" label="Halo Button" />
<mx:CheckBox id="checkBox" label="Halo CheckBox" />
<mx:ColorPicker id="colorPicker" />
<mx:ComboBox id="comboBox" prompt="Halo ComboBox" dataProvider="[The,Quick,Brown,Fox]" width="200" />
<mx:Label id="lbl" text="Halo Label" />
<mx:LinkButton id="linkBtn" label="Halo LinkButton" />
</s:Panel>
</s:Application>