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

Class selectors which specify padding styles do not work in VGroup, HGroup.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • Spark: Group
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Look at the ASDoc for VGroup, and confirm that paddingLeft, paddingRight, etc... are supported styles.
      2. Define a class selector:
      <fx:Style>
      @namespace s "library://ns.adobe.com/flex/spark";

      .paddedBox

      { paddingLeft: 20; paddingRight: 20; paddingTop: 20; paddingBottom: 20; color: #00ff00; }


      </fx:Style>

      2. Use it:
      <s:VGroup id="container" styleName="paddedBox">
      <s:Label text="

      {multiLineText}

      "/>
      </s:VGroup>

      Actual Results:
      No padding occurs.

      Expected Results:
      Padding should occur.

      Workaround (if any):
      <s:VGroup id="container" paddingLeft="20" paddingRight="20" paddingTop="20" paddingBottom="20">

      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: