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/08/20 06:32:14 UTC
[jira] Created: (PIVOT-236) SplitPane's splitLocation(int) property
should be splitRatio(float)
SplitPane's splitLocation(int) property should be splitRatio(float)
-------------------------------------------------------------------
Key: PIVOT-236
URL: https://issues.apache.org/jira/browse/PIVOT-236
Project: Pivot
Issue Type: Improvement
Components: wtk
Reporter: Todd Volkert
Assignee: Niclas Hedhman
Fix For: 1.3
Currently, the splitLocation property of SplitPane specifies the absolute pixel value of the splitter within the split pane. This would be much more useful to applications (and much less error-prone) if it were specified as a ratio of one side of the split to the other (from 0.0f to 1.0f). This would have the following benefits:
1) The caller can initialize the splitter location very easily, whereas previously, you had to presuppose how the split pane would be laid out to give a meaningul splitLocation property.
2) When the split pane is resized, granting proper allocations to each side of the splitter becomes very easy, since the ratio stays the same.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIVOT-236) SplitPane's resize weight should be
configurable
Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Volkert updated PIVOT-236:
-------------------------------
Description: Currently, SplitPane maintains its splitRatio when resized, meaning that it allocates the resize space based on the splitRatio. It would be useful if it supported three resize modes: TOP_LEFT, BOTTOM_RIGHT, and EVEN (current behavior). (was: Currently, the splitLocation property of SplitPane specifies the absolute pixel value of the splitter within the split pane. This would be much more useful to applications (and much less error-prone) if it were specified as a ratio of one side of the split to the other (from 0.0f to 1.0f). This would have the following benefits:
1) The caller can initialize the splitter location very easily, whereas previously, you had to presuppose how the split pane would be laid out to give a meaningul splitLocation property.
2) When the split pane is resized, granting proper allocations to each side of the splitter becomes very easy, since the ratio stays the same.)
Fix Version/s: (was: 1.3)
1.4
Assignee: (was: Niclas Hedhman)
Summary: SplitPane's resize weight should be configurable (was: SplitPane's splitLocation(int) property should be splitRatio(float))
> SplitPane's resize weight should be configurable
> ------------------------------------------------
>
> Key: PIVOT-236
> URL: https://issues.apache.org/jira/browse/PIVOT-236
> Project: Pivot
> Issue Type: Improvement
> Components: wtk
> Reporter: Todd Volkert
> Fix For: 1.4
>
>
> Currently, SplitPane maintains its splitRatio when resized, meaning that it allocates the resize space based on the splitRatio. It would be useful if it supported three resize modes: TOP_LEFT, BOTTOM_RIGHT, and EVEN (current behavior).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (PIVOT-236) SplitPane's splitLocation(int)
property should be splitRatio(float)
Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Volkert resolved PIVOT-236.
--------------------------------
Resolution: Fixed
Marking as fixed since the code is already checked in - this ticket is for book-keeping purposes.
> SplitPane's splitLocation(int) property should be splitRatio(float)
> -------------------------------------------------------------------
>
> Key: PIVOT-236
> URL: https://issues.apache.org/jira/browse/PIVOT-236
> Project: Pivot
> Issue Type: Improvement
> Components: wtk
> Reporter: Todd Volkert
> Assignee: Niclas Hedhman
> Fix For: 1.3
>
>
> Currently, the splitLocation property of SplitPane specifies the absolute pixel value of the splitter within the split pane. This would be much more useful to applications (and much less error-prone) if it were specified as a ratio of one side of the split to the other (from 0.0f to 1.0f). This would have the following benefits:
> 1) The caller can initialize the splitter location very easily, whereas previously, you had to presuppose how the split pane would be laid out to give a meaningul splitLocation property.
> 2) When the split pane is resized, granting proper allocations to each side of the splitter becomes very easy, since the ratio stays the same.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (PIVOT-236) SplitPane's resize weight should be
configurable
Posted by "Noel Grandin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noel Grandin reassigned PIVOT-236:
----------------------------------
Assignee: Noel Grandin
> SplitPane's resize weight should be configurable
> ------------------------------------------------
>
> Key: PIVOT-236
> URL: https://issues.apache.org/jira/browse/PIVOT-236
> Project: Pivot
> Issue Type: Improvement
> Components: wtk
> Reporter: Todd Volkert
> Assignee: Noel Grandin
> Fix For: 1.4
>
>
> Currently, SplitPane maintains its splitRatio when resized, meaning that it allocates the resize space based on the splitRatio. It would be useful if it supported three resize modes: TOP_LEFT, BOTTOM_RIGHT, and EVEN (current behavior).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Reopened: (PIVOT-236) SplitPane's resize weight should be
configurable
Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Volkert reopened PIVOT-236:
--------------------------------
Was resolved by accident
> SplitPane's resize weight should be configurable
> ------------------------------------------------
>
> Key: PIVOT-236
> URL: https://issues.apache.org/jira/browse/PIVOT-236
> Project: Pivot
> Issue Type: Improvement
> Components: wtk
> Reporter: Todd Volkert
> Fix For: 1.4
>
>
> Currently, SplitPane maintains its splitRatio when resized, meaning that it allocates the resize space based on the splitRatio. It would be useful if it supported three resize modes: TOP_LEFT, BOTTOM_RIGHT, and EVEN (current behavior).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (PIVOT-236) SplitPane's resize weight should be
configurable
Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Volkert updated PIVOT-236:
-------------------------------
Fix Version/s: (was: 1.4)
1.3.2
Bumping up priority
> SplitPane's resize weight should be configurable
> ------------------------------------------------
>
> Key: PIVOT-236
> URL: https://issues.apache.org/jira/browse/PIVOT-236
> Project: Pivot
> Issue Type: Improvement
> Components: wtk
> Reporter: Todd Volkert
> Fix For: 1.3.2
>
>
> Currently, SplitPane maintains its splitRatio when resized, meaning that it allocates the resize space based on the splitRatio. It would be useful if it supported three resize modes: TOP_LEFT, BOTTOM_RIGHT, and EVEN (current behavior).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIVOT-236) SplitPane's resize weight should be
configurable
Posted by "Todd Volkert (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747610#action_12747610 ]
Todd Volkert commented on PIVOT-236:
------------------------------------
Actually, only two modes would be needed: PRIMARY_REGION (maintain the size of the primary region) and SPLIT_RATIO (current behavior).
> SplitPane's resize weight should be configurable
> ------------------------------------------------
>
> Key: PIVOT-236
> URL: https://issues.apache.org/jira/browse/PIVOT-236
> Project: Pivot
> Issue Type: Improvement
> Components: wtk
> Reporter: Todd Volkert
> Fix For: 1.4
>
>
> Currently, SplitPane maintains its splitRatio when resized, meaning that it allocates the resize space based on the splitRatio. It would be useful if it supported three resize modes: TOP_LEFT, BOTTOM_RIGHT, and EVEN (current behavior).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (PIVOT-236) SplitPane's resize weight should be
configurable
Posted by "Noel Grandin (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Noel Grandin resolved PIVOT-236.
--------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.4.1)
1.4
> SplitPane's resize weight should be configurable
> ------------------------------------------------
>
> Key: PIVOT-236
> URL: https://issues.apache.org/jira/browse/PIVOT-236
> Project: Pivot
> Issue Type: Improvement
> Components: wtk
> Reporter: Todd Volkert
> Assignee: Noel Grandin
> Fix For: 1.4
>
>
> Currently, SplitPane maintains its splitRatio when resized, meaning that it allocates the resize space based on the splitRatio. It would be useful if it supported three resize modes: TOP_LEFT, BOTTOM_RIGHT, and EVEN (current behavior).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.