Positioning
Until standard GUI systems, widget positioning is based on whether the current defined widget will fit horizontally – effectively its all based on the width of the previous widget.
If the current widget wont fit horizontally, it will be moved vertically below the last widget.
If it wont fit below the last widget, then a scroll bar on the window will be created and the widget will be added in the newly available area of the window.