@Override
	public Dimension getPreferredSize() {
		Dimension preferredSize = super.getPreferredSize();

		int headerWidth = genericHeader.getPreferredSize().width;
		preferredSize.width = headerWidth;
		return preferredSize;
	}
A bit of a hack that triggers the text area to update its preferred height now before we
render so that it doesn't change later.
Ghidra/Features/FunctionGraph/src/main/java/ghidra/app/plugin/core/functiongraph/graph/vertex/GroupedFunctionGraphComponentPanel.java