Pivot
  1. Pivot
  2. PIVOT-339

ImageViewSkin fill/preserveAspectRatio can yield clipping

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.4
    • Component/s: wtk
    • Labels:
      None

      Description

      Steps to reproduce:

      1) Launch the component explorer demo
      2) Select ImageView
      3) Click on the Styles tab
      4) Check "fill" and "preserveAspectRatio"
      5) Drag the splitter to the left and to the right to shrink and grow the image view

      Result:

      When the image view grows beyond a certain width, it jumps to fill the height of the content pane, clipping the left and right of the image. The expected behavior is that when both fill and preserveAspectRatio are set, the image view will choose the width & height that both maintains the aspect ration and fits the image into the image view's alloted space.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Todd Volkert
            Reporter:
            Todd Volkert
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development