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

[flex_next] HorizontalLayout and VerticalLayout should support justifyUsingGap

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Later
    • Adobe Flex SDK Previous
    • None
    • Spark: Layout
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Actual Results:
      There's no way to create a vertical or horizontal group where the the first and last objects are justified to the edge and the gap varies to make that possible. The work around is to use:

      <s:Group y="192" left="211" right="291">
      <s:layout>
      <s:TileLayout requestedRowCount="1" columnAlign="justifyUsingGap"/>
      </s:layout>
      <s:Button x="0" y="0" label="Button"/>
      <s:Button x="0" y="0" label="Button"/>
      <s:Button x="0" y="0" label="Button"/>
      <s:Button x="0" y="0" label="Button"/>
      </s:Group>

      The workaround is not that intuitive and it would be cleaner to just add justifyUsingGap to horizontalLayout and VerticalLayout

      Expected Results:

      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: