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] [Commented] (PIVOT-636) Define a default size for SplitPane
Date Fri, 08 Dec 2017 21:03:00 GMT

    [ 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

View raw message