> Well, BoxPane seems a poor choice, given that it doesn't propagate size 
> information, leading to the multiple confusions I've been a victim to already.

Not sure what you mean by "propagate size information". But it depends on what 
you need the container to do. If you expect your custom component to lay out 
its content in a horizontal or vertical row, then BoxPane would be a good 
choice.

> TablePane is an even worse choice.  Unlike the corresponding WPF container 
> (Grid), TablePane requires row and column markup, even if it only contains a 
> single child.

Again, it depends on what your needs are. If you need to lay out content in 
rows and columns, then TablePane would certainly be a good choice.

> I'm thinking StackPane might be the best choice.  It seems to be pretty 
> transparent.

I'm really not sure what you are trying to accomplish, but if you want 
something that can simply act as a container for other components, you might 
want to look at Panel. It is the simplest container possible as it doesn't 
perform any layout.


Reply via email to