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/07/30 01:09:14 UTC
[jira] Created: (PIVOT-196) A collapsed expander lays out
incorrectly if it's given more space than it needs
A collapsed expander lays out incorrectly if it's given more space than it needs
--------------------------------------------------------------------------------
Key: PIVOT-196
URL: https://issues.apache.org/jira/browse/PIVOT-196
Project: Pivot
Issue Type: Bug
Components: wtk
Reporter: Todd Volkert
Assignee: Todd Volkert
Fix For: 1.3
When an expander is collapsed, if it's given more than its preferred height during layout, it fails to collapse properly. Run org.apache.pivot.wtk.test.ExpanderTest to test this behavior and the fix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIVOT-196) A collapsed expander lays out
incorrectly if it's given more space than it needs
Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Volkert updated PIVOT-196:
-------------------------------
Fix Version/s: (was: 1.3)
> A collapsed expander lays out incorrectly if it's given more space than it needs
> --------------------------------------------------------------------------------
>
> Key: PIVOT-196
> URL: https://issues.apache.org/jira/browse/PIVOT-196
> Project: Pivot
> Issue Type: Bug
> Components: wtk
> Reporter: Todd Volkert
> Assignee: Todd Volkert
>
> When an expander is collapsed, if it's given more than its preferred height during layout, it fails to collapse properly. Run org.apache.pivot.wtk.test.ExpanderTest to test this behavior and the fix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (PIVOT-196) A collapsed expander lays out
incorrectly if it's given more space than it needs
Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Brown resolved PIVOT-196.
------------------------------
Resolution: Won't Fix
After seeing the resulting behavior, I'm inclined to consider this not a bug. This isn't a use case Expander is meant to support, and I think the current behavior is as expected.
I made one minor change, such that the bottom border of the title area is always painted. This may make the the behavior seem a little less buggy (even though it's not really a bug).
> A collapsed expander lays out incorrectly if it's given more space than it needs
> --------------------------------------------------------------------------------
>
> Key: PIVOT-196
> URL: https://issues.apache.org/jira/browse/PIVOT-196
> Project: Pivot
> Issue Type: Bug
> Components: wtk
> Reporter: Todd Volkert
> Assignee: Todd Volkert
> Fix For: 1.3
>
>
> When an expander is collapsed, if it's given more than its preferred height during layout, it fails to collapse properly. Run org.apache.pivot.wtk.test.ExpanderTest to test this behavior and the fix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.