> A horizontal box pane will optionally size its children to fill the vertical > space, but it doesn't impose any constraints in the horizontal direction. > Vertical box panes behave similarly. > > "optionally" meaning you have to set the "fill" style to true for this > behavior. Otherwise, BoxPanes pass along no width/height information at all > to their children, I think. I've been bit by that a couple times.
Correct - if fill is false (the default), BoxPane will give each child its preferred size. Otherwise, it will give each child its constrained preferred height or width, depending on its orientation.
