Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.7.4
-
Fix Version/s: None
-
Component/s: Swing
-
Labels:None
-
Number of attachments :
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).