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

Halo List control resizes when toggling between TextField and FTETextField

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • Adobe Flex SDK Previous
    • None
    • Spark: FTETextField
    • 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 with the following compiler args: -theme+=${flexlib}/projects/spark/MXFTEText.css

      Actual Results:
      UIFTETextField height == 156px

      Expected Results:
      We should try and keep these as close as possible. This may be NAB as we dont promise per-pixel compatibility, but having a difference of 5+/- pixels could throw off some UIs.

      Workaround (if any):
      n/a


      <?xml version="1.0" encoding="utf-8"?>
      <!-- -theme+=${flexlib}/projects/spark/MXFTEText.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">
      <s:controlBarContent>
      <mx:Label id="sdkVer" initialize="sdkVer.text = mx_internal::VERSION;" selectable="true" />
      </s:controlBarContent>

      <s:VGroup x="20" y="20">
      <mx:Label text="

      {sdkVer.getStyle('textFieldClass')}

      " width="100%" fontWeight="bold" />
      <mx:List id="lst" dataProvider="[One,Two,Three,Four,Five,Six,Seven,Eight,Nine,Ten]" width="100" />
      <mx:Label text="height:

      {lst.height}

      " width="100%" />
      </s:VGroup>

      </s:Application>

      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: