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/06 02:22:32 UTC

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

     [ 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.