[
https://issues.apache.org/jira/browse/PIVOT-636?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16284197#comment-16284197
]
Roger Whitcomb commented on PIVOT-636:
--------------------------------------
Testing shows no ill effects from this change, and as has been suggested will
reduce confusion by making even a default splitter (with no components) visible
by having a non-zero size.
> Define a default size for SplitPane
> -----------------------------------
>
> Key: PIVOT-636
> URL: https://issues.apache.org/jira/browse/PIVOT-636
> Project: Pivot
> Issue Type: Improvement
> Components: wtk
> Reporter: Greg Brown
> Assignee: Roger Whitcomb
> Priority: Minor
> Fix For: 2.5
>
> Attachments: 636.patch
>
>
> The fact that split pane has a preferred size of 0x0 seems to be a cause of
> confusion for developers. Although we don't expect SplitPane to ever be used
> in a container that will respect its preferred size, it might still be useful
> to try to provide some meaningful default (perhaps the preferred size of the
> components plus the separator). If that isn't possible, even a non-meaningful
> default would probably help, because at least then the split pane would be
> visible.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)