[ https://issues.apache.org/jira/browse/PIVOT-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13090101#comment-13090101 ]
Noel Grandin commented on PIVOT-790: ------------------------------------ "Adding complexity" is not an argument against adding a new feature. All new features add complexity. The question is "is the complexity justified" and "is it the minimum necessary complexity" I think the complexity is justified and that it is minimised by adding the feature to BoxPane, since BoxPane already implements most of this logic - it really just needs some conditional checks to decide how much width/height to work with i.e. all of it, or just the minimum amount. StackPane lays things out on top of each other, so it's not appropriate for this case, and ScrollPane...... scrolls. -- Noel. > 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