FlowBox

flowBox is a BoxLayout container providing sequential horizontal placing of components. If there is not enough space in a line, the components that do not fit will be displayed on the next line.

See BoxLayout for details.