flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Justin Mclean (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-26653) Missing space characters before and after span element (TLF 2 with Flex 4.1)
Date Sun, 05 May 2013 10:32:16 GMT

    [ https://issues.apache.org/jira/browse/FLEX-26653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13649307#comment-13649307
] 

Justin Mclean commented on FLEX-26653:
--------------------------------------

Code:
<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"
  creationComplete="init()">
  <fx:Script>
    <![CDATA[

import spark.utils.TextFlowUtil;

private function init():void {
  setTlf();
}

private function setTlf():void {
  const markup:XML = <TextFlow xmlns="http://ns.adobe.com/textLayout/2008" fontSize="18">
  <p>Text before the span <span>text inside the span</span> text after the
span.</p>
</TextFlow>;
  textElement.textFlow = TextFlowUtil.importFromXML(markup);
}
    ]]>
  </fx:Script>
  <s:layout>
    <s:VerticalLayout horizontalAlign="center" verticalAlign="middle" />
  </s:layout>
  <s:RichEditableText id="textElement" width="300" paddingTop="30"/>
</s:Application>
                
> Missing space characters before and after span element (TLF 2 with Flex 4.1)
> ----------------------------------------------------------------------------
>
>                 Key: FLEX-26653
>                 URL: https://issues.apache.org/jira/browse/FLEX-26653
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: .Unspecified - Framework
>    Affects Versions: Adobe Flex SDK 4.1 (Release)
>         Environment: Affected OS(s): Mac
> Language Found: English
>            Reporter: Adobe JIRA
>              Labels: easytest
>
> Steps to reproduce:
> 1. View the attached .swf file in a browser.
>  Actual Results: "spantext"
>  
>  Expected Results: "span text"
>  
> (Something else: In "Components" in the bug form I'd like to be able to select "TLF".)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message