[ https://issues.apache.org/jira/browse/PIVOT-790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13089552#comment-13089552 ]
Roger Whitcomb commented on PIVOT-790: -------------------------------------- Noel, I can see your point, although changing the "fill" to an enum would likely require a LOT of existing code to change because it is not backward compatible with the existing stuff. My proposal, although it does duplicate *some* code doesn't require changing any existing stuff if you don't want the new feature. It looks like your proposal, on the other hand, is a bit more flexible than what I implemented. Although, I imagine the code inside BoxPane.getPreferredHeight, getPreferredWidth and layout would be fairly ugly.... At any rate, looks like anything we do will be 2.1 now.... > 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