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

Rotated VideoPlayer component with left, right, and width properties does not obey the width property

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Spark: BasicLayout
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Found in Flex 4.5 build 16037

      Steps to reproduce:
      1. Compile and run the attached MXML file.
      2. Observe that there are 3 pairs of components - each Rect / VideoPlayer pair have the same size and position settings.

      Actual Results: the VideoPlayer that has width, left, and right properties does not match the corresponding Rect. The other VideoPlayers do match their corresponding Rect (you can't see the rect because it's exactly behind the corresponding VideoPlayer).

      Expected Results:the problem is that the Layout system is not obeying the explicit width property. Instead, it appears to be giving precedence to the video player's preferred width. The layout system should always give precedence to an explicit width property, if present.

      This issue also affects other components such as Button.

      Alternate steps in Catalyst:
      1. import the attached FLV file, or drag a DataList or Button from the Wireframe Components panel,
      2. in properties panel, set the width and height to half of the original value. (e.g. for the attached FLV, you should set the width to 211 and height to 170).
      3. set rotation to 227
      4. turn on left constraint
      5. turn on right constraint
      Actual result: the item changes shape.
      Expected result: the item stays the same shape.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment