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