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

s:Group component's default minHeight and minWidth not zero (while those of s:Application are)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • Spark: Group
    • None
    • Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. copy paste following code and scale browser to very small.

      <?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"
      width="100%" height="100%">
      <fx:Declarations>
      <!-- Place non-visual elements (e.g., services, value objects) here -->
      </fx:Declarations>
      <s:Group x="0" y="0" width="100%" height="100%">
      <s:layout>
      <s:TileLayout/>
      </s:layout>
      <s:Button label="Hallo test test"/>
      <s:Button label="Hallo test test"/>
      <s:Button label="Hallo test test"/>
      <s:Button label="Hallo test test"/>
      <s:Button label="Hallo test test"/>
      <s:Button label="Hallo test test"/>
      <s:Button label="Hallo test test"/>
      <s:Button label="Hallo test test"/>
      <s:Button label="Hallo test test"/>
      </s:Group>

      </s:Application>

      Actual Results: minWidth > "0" minHeight > "0"

      Expected Results: minWidth="0" minHeight="0" (because that's also the behavoir of the s:Application component)

      Workaround (if any): add minWidth="0" minHeight="0" to the group

      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: