Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
1.7.4
-
None
-
None
Description
An example on the website includes the following:
splitPane {
scrollPane(constraints: "left", preferredSize: [160, -1])
splitPane(orientation:JSplitPane.VERTICAL_SPLIT, dividerLocation:280) {
scrollPane(constraints: "top")
scrollPane(constraints: "bottom")
{ textArea() } }
}
However, inspection of the SplitPaneFactory.groovy source file shows that child components are just added at the first null position (i.e. top/left/bottom/right).
A potential fix could make use of the builder context to store the contraints value (see TabbedPaneFactory for example).