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/03 04:07:59 UTC

[jira] Created: (PIVOT-338) TerraPushButtonSkin.minimumAspectRatio interferes with baseline calculation

TerraPushButtonSkin.minimumAspectRatio interferes with baseline calculation
---------------------------------------------------------------------------

                 Key: PIVOT-338
                 URL: https://issues.apache.org/jira/browse/PIVOT-338
             Project: Pivot
          Issue Type: Bug
          Components: wtk
    Affects Versions: 1.4
            Reporter: Todd Volkert
             Fix For: 1.4


Steps to reproduce

1) Run org.apache.pivot.demos.explorer.ComponentExplorer
2) Expand the "Layout Containers" section, and select "FlowPane"
3) In the "Styles" tab, select "alignToBaseline"

Result:

The buttons are not aligned properly.  Basic analysis shows the cause to be in TerraPushButtonSkin -- the baseline of some buttons are being reported incorrectly.  It seems that the minimumAspectRatio style is not accounted for in the calculations.

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


[jira] Updated: (PIVOT-338) TerraPushButtonSkin baseline calculation fails when button is given more than its preferred height

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

Todd Volkert updated PIVOT-338:
-------------------------------

    Description: 
Steps to reproduce

1) Run org.apache.pivot.demos.explorer.ComponentExplorer
2) Expand the "Layout Containers" section, and select "FlowPane"
3) In the "Styles" tab, select "alignToBaseline"

Result:

The buttons are not aligned properly.  Basic analysis shows the cause to be in TerraPushButtonSkin -- the baseline of some buttons are being reported incorrectly.

  was:
Steps to reproduce

1) Run org.apache.pivot.demos.explorer.ComponentExplorer
2) Expand the "Layout Containers" section, and select "FlowPane"
3) In the "Styles" tab, select "alignToBaseline"

Result:

The buttons are not aligned properly.  Basic analysis shows the cause to be in TerraPushButtonSkin -- the baseline of some buttons are being reported incorrectly.  It seems that the minimumAspectRatio style is not accounted for in the calculations.

        Summary: TerraPushButtonSkin baseline calculation fails when button is given more than its preferred height  (was: TerraPushButtonSkin.minimumAspectRatio interferes with baseline calculation)

> TerraPushButtonSkin baseline calculation fails when button is given more than its preferred height
> --------------------------------------------------------------------------------------------------
>
>                 Key: PIVOT-338
>                 URL: https://issues.apache.org/jira/browse/PIVOT-338
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 1.4
>            Reporter: Todd Volkert
>             Fix For: 1.4
>
>
> Steps to reproduce
> 1) Run org.apache.pivot.demos.explorer.ComponentExplorer
> 2) Expand the "Layout Containers" section, and select "FlowPane"
> 3) In the "Styles" tab, select "alignToBaseline"
> Result:
> The buttons are not aligned properly.  Basic analysis shows the cause to be in TerraPushButtonSkin -- the baseline of some buttons are being reported incorrectly.

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


[jira] Assigned: (PIVOT-338) TerraPushButtonSkin baseline calculation fails when button is given more than its preferred height

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

Greg Brown reassigned PIVOT-338:
--------------------------------

    Assignee: Greg Brown

> TerraPushButtonSkin baseline calculation fails when button is given more than its preferred height
> --------------------------------------------------------------------------------------------------
>
>                 Key: PIVOT-338
>                 URL: https://issues.apache.org/jira/browse/PIVOT-338
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 1.4
>            Reporter: Todd Volkert
>            Assignee: Greg Brown
>             Fix For: 1.4
>
>
> Steps to reproduce
> 1) Run org.apache.pivot.demos.explorer.ComponentExplorer
> 2) Expand the "Layout Containers" section, and select "FlowPane"
> 3) In the "Styles" tab, select "alignToBaseline"
> Result:
> The buttons are not aligned properly.  Basic analysis shows the cause to be in TerraPushButtonSkin -- the baseline of some buttons are being reported incorrectly.

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


[jira] Resolved: (PIVOT-338) TerraPushButtonSkin baseline calculation fails when button is given more than its preferred height

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

Greg Brown resolved PIVOT-338.
------------------------------

    Resolution: Fixed

> TerraPushButtonSkin baseline calculation fails when button is given more than its preferred height
> --------------------------------------------------------------------------------------------------
>
>                 Key: PIVOT-338
>                 URL: https://issues.apache.org/jira/browse/PIVOT-338
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 1.4
>            Reporter: Todd Volkert
>            Assignee: Greg Brown
>             Fix For: 1.4
>
>
> Steps to reproduce
> 1) Run org.apache.pivot.demos.explorer.ComponentExplorer
> 2) Expand the "Layout Containers" section, and select "FlowPane"
> 3) In the "Styles" tab, select "alignToBaseline"
> Result:
> The buttons are not aligned properly.  Basic analysis shows the cause to be in TerraPushButtonSkin -- the baseline of some buttons are being reported incorrectly.

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