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

Roger Whitcomb commented on PIVOT-790:
--------------------------------------

Hmm, interesting thought.  Although the code for the interesting part of 
FillPane (the "layout" method) turned out to be a fair amount different than 
BoxPane is (see the attached patch).  I'm experimenting with this 
implementation of FillPane in my own code to see what it "feels" like.  I'm 
ending up replacing a lot of BoxPane with FillPane because often I've wanted to 
fill up the space.....

To my mind, even though the implementation is similar there is a different 
purpose for BoxPane and this FillPane:  the former arranges things in a line, 
while the latter fills up the space and contains/constrains its children.


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