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

[Mustella] Height of the ButtonBar doesn't increase when the fontSize is increased

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • mx: Button Bar
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows
      Language Found: English

    Description

      Reproduction:
      1. Run the below sample piece of code

      <?xml version="1.0"?>
      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="run()">
      <mx:Script>
      <![CDATA[
      [Bindable]
      private var myDP:Array=[

      {label:"Italy", data:"ITALY"}

      ,

      {label:"England", data:"ENGLAND"}

      ,

      {label:"Slovenia", data:"SLOVENIA"}

      ];
      public function run():void {
      bb.setStyle('fontSize',50);
      }
      ]]
      >
      </mx:Script>
      <mx:ButtonBar id="bb" dataProvider="

      {myDP}

      " />
      </mx:Application>

      2. Notice that height of the ButtonBar is not increased with respect the fontSize, but the width is increased.

      Actual Results: Height of the ButtonBar doesn't increase when the fontSize is increased

      Expected Results: Should increase the height of the ButtonBar when the fontSize is increased.

      Workaround: set the height explicitly.

      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: