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

TileList doesnt display the correct number of columns when columnCount is specified, verticalScrollPolicy is auto, and maxVerticalScrollPosition is greater than 0

    XMLWordPrintableJSON

Details

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

    Description

      Steps to reproduce:
      1. Compile and run attached MXML file (main.mxml) – or view main.swf

      Actual Results:
      When the verticalScrollPolicy is set to "auto" (default), the TileList control is set to (columnCount*columnWidth).
      If the TileList control requires scroll bars, the scrollbars are created inside the TileList control, meaning that the content with is now 16px narrower (the width of a VScrollBar), so that the specified number of columns no longer fit within the control.

      Expected Results:
      If the user specifies an explicit columnCount, the TileList should make sure that the specified number of columns fit, even if that means resizing and redrawing the control.

      Workaround (if any):
      (a) Set the verticalScrollPosition to "on" so that scroll bars are always displayed, and the width of the TileList control is: (columnWidth*columnCount)+vScrollBar.width
      (b) Check the maxVerticalScrollPosition property. If it is greater than 0, the vertical scroll bar is visible and you could set the verticalScrollPolicy to "on" and invalidate the TileList container's size.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: