Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-22643

RichText default property value is taking precedence over the text property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK 4.0 (Release)
    • None
    • Spark: RichText
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile and run:

      <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">

      <s:layout>
      <s:HorizontalLayout />
      </s:layout>

      <!-- spark -->

      <s:VGroup paddingLeft="10">

      <s:RichText color="#0000FF" text="spark1" >
      </s:RichText>

      <s:RichText color="#0000FF" text="spark2"></s:RichText>

      </s:VGroup>

      <!-- halo -->

      <s:VGroup paddingLeft="10">

      <mx:Text color="#0000FF" text="halo1" >
      </mx:Text>

      <mx:Text color="#0000FF" text="halo2"></mx:Text>

      </s:VGroup>

      </s:Application>

      Actual Results:

      halo1
      spark2 halo2

      Expected Results:

      spark1 halo1
      spark2 halo2

      Workaround (if any):

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: