I had put in fill:true into the boxpane but that did not solve the problem.
I also wrapped the splitpane in a Border and other things but that still did
not make it appear.

A DockPane might be a good addition to the family here :-)

Will look at TablePane.



-----Original Message-----
From: Greg Brown [mailto:[email protected]] 
Sent: Thursday, June 17, 2010 3:08 PM
To: [email protected]
Subject: Re: SplitPane inside a BoxPane - cannot get SplitPane to appear

> BoxPane does not automatically size its content to fill the available
space.

More specifically, by default, a box pane gives each child component its
preferred size. Since SplitPane does not have a preferred size, the box pane
gives it a size of 0x0.

Setting "fill" to true will cause a box pane to stretch its children to fit,
but only in one direction. That's probably not what you want, so a TablePane
is probably a better choice.


Reply via email to