Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
Adobe Flex SDK Previous
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Found in 4.0.0.11665
Steps to reproduce:
1. Compile and run attached MXML file(s).
2. Note the right edge of the border/text.
Actual Results:
FTETextField red text overlaps the black border.
TextField does NOT overlap the border and includes some padding.
Expected Results:
FTETextField text shouldnt overlap border.
Workaround (if any):
n/a
<?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/halo"
creationComplete="init();">
<s:controlBarContent>
<mx:Label id="sdkVer" initialize="sdkVer.text = mx_internal::VERSION;" selectable="true" />
</s:controlBarContent>
<fx:Script>
<![CDATA[
import mx.core.*;
protected const fte:FTETextField = new FTETextField();
private function init():void
{ var fmt:TextFormat = new TextFormat(); fmt.font = "Arial"; fmt.color = 0xFF0000; fte.multiline = true; fte.defaultTextFormat = fmt; fte.htmlText = "Heading 1 Heading 2<br>________________________"; fte.border = true; sve.addChild(fte); } ]]
>
</fx:Script>
<s:SpriteVisualElement id="sve" x="20" y="20" />
</s:Application>