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

horizontalAlign and verticalAlign Layout problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Adobe Flex SDK 3.0 (Release)
    • None
    • mx: Box View
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a HBox or VBox with border style solid, borderThickness 2, borderColor red, horizontal Align right, and width and height to 100.
      2. Then add a button having more that parent(HBox, VBox) width.
      3. Use the following code for the same.

      <mx:VBox width="100" height="100" borderColor="red" id="nnk1" paddingTop="10"
      borderStyle="solid" borderThickness="2" horizontalAlign="right" verticalAlign="middle">
      <mx:Button label="nitin"/>
      <mx:Button label="kalaskar" click="nnk.width=100" width="150"/>
      </mx:VBox>

      Actual Results:
      Scroll bars not appearing and partial button is displayed..

      Expected Results:
      Scroll bars should appear with paddingLeft, and paddingRight

      Workaround (if any):
      Check mx.containers.utilityClasses.BoxLayout updateDisplayList function.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: