After setting up the FlowPane via the setWrapLength method it doesn't correctly wrap the children horizontally as specified by the wrapLength property. For instance if I have 9 custom controls that each have a width of 50 pixels I would expect 3 horizontal rows if the FlowPane's wrapLength property is set to 150.