public void setUseSingleLineLayout(boolean singleLineLayout) {
		if (pack) {
			if (singleLineLayout) {
				setLayout(new SingleRowLayoutManager(hGap, vGap));
			}
			else {
				setLayout(new VariableHeightLayoutManager(hGap, vGap, pack));
			}
		}
	}
This method is in place because the clients of this panel are not the ones that 
construct this panel and thus cannot create the desired type of layout at construction time.
<b>This method has no effect if this panel was constructed with <code>pack</code> set to
false, which makes this panel use a grid style layout.</b>
 
@param singleLineLayout True signals to put all children on a single row; false will use
       as many rows as are needed to layout all of the children.
Ghidra/Framework/Docking/src/main/java/docking/widgets/VariableHeightPanel.java