[ 
https://issues.apache.org/jira/browse/PIVOT-636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Roger Whitcomb updated PIVOT-636:
---------------------------------
    Attachment: 636.patch

Suggest the "636.patch" (attached) to calculate preferred size as the splitter 
thickness plus the preferred sizes of the left/top and right/bottom components.

> 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)

Reply via email to