pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Whitcomb (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIVOT-636) Define a default size for SplitPane
Date Fri, 08 Dec 2017 21:00:00 GMT

     [ 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

View raw message