pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "aappddeevv" <aappdde...@verizon.net>
Subject RE: SplitPane inside a BoxPane - cannot get SplitPane to appear
Date Thu, 17 Jun 2010 21:33:56 GMT
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:gkbrown@mac.com] 
Sent: Thursday, June 17, 2010 3:08 PM
To: user@pivot.apache.org
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.



Mime
View raw message