FWIW, I think overloading BoxPane would add more complexity. I'd prefer either 
a new component or recommending StackPane or ScrollPane for this use case.
G

----- Reply message -----
From: "Noel Grandin (JIRA)" <j...@apache.org>
Date: Tue, Aug 23, 2011 3:20 pm
Subject: [jira] [Commented] (PIVOT-790) Add FillPane layout container that acts 
like a BoxPane with fill=true in both directions
To: <dev@pivot.apache.org>


    [ 
https://issues.apache.org/jira/browse/PIVOT-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089678#comment-13089678
 ] 

Noel Grandin commented on PIVOT-790:
------------------------------------

I think we can keep backwards compatibility by making the new setFill(String) 
method parse "true" and "false".

> Add FillPane layout container that acts like a BoxPane with fill=true in both 
> directions
> ----------------------------------------------------------------------------------------
>
>                 Key: PIVOT-790
>                 URL: https://issues.apache.org/jira/browse/PIVOT-790
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk
>    Affects Versions: 2.0.1
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>             Fix For: 2.0.1
>
>         Attachments: fill.patch, fill_pane_horizontal.jpg, 
> fill_pane_vertical.jpg
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Would like to have a FillPane that lays out its components to fill the 
> available space both horizontally and vertically.  It does have an 
> orientation (like BoxPane) to specify the direction to lay things out but it 
> always allows its children to fill up the space.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to