You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Todd Volkert (JIRA)" <ji...@apache.org> on 2009/11/04 12:20:21 UTC

[jira] Created: (PIVOT-339) ImageView

ImageView
---------

                 Key: PIVOT-339
                 URL: https://issues.apache.org/jira/browse/PIVOT-339
             Project: Pivot
          Issue Type: Bug
            Reporter: Todd Volkert
            Priority: Minor




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIVOT-339) ImageViewSkin fill/preserveAspectRatio can yield clipping

Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Volkert updated PIVOT-339:
-------------------------------

          Component/s: wtk
          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.
    Affects Version/s: 1.3
        Fix Version/s: 1.4.1
              Summary: ImageViewSkin fill/preserveAspectRatio can yield clipping  (was: ImageView)

Hit the enter key while creating this bug and prematurely entered it... updating it with correct info now.

> ImageViewSkin fill/preserveAspectRatio can yield clipping
> ---------------------------------------------------------
>
>                 Key: PIVOT-339
>                 URL: https://issues.apache.org/jira/browse/PIVOT-339
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 1.3
>            Reporter: Todd Volkert
>            Priority: Minor
>             Fix For: 1.4.1
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PIVOT-339) ImageViewSkin fill/preserveAspectRatio can yield clipping

Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIVOT-339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Todd Volkert resolved PIVOT-339.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.4.1)
                   1.4
         Assignee: Todd Volkert

> ImageViewSkin fill/preserveAspectRatio can yield clipping
> ---------------------------------------------------------
>
>                 Key: PIVOT-339
>                 URL: https://issues.apache.org/jira/browse/PIVOT-339
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 1.3
>            Reporter: Todd Volkert
>            Assignee: Todd Volkert
>            Priority: Minor
>             Fix For: 1.4
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.