public void resetColumnWidthToPreferredWidth(String viewName) {
		for (int i = 0; i < columnModel.getColumnCount(); i++) {
			TableColumn column = columnModel.getColumn(i);
			ComponentData data = (ComponentData) column.getHeaderValue();
			if (data.name().equals(viewName)) {
				column.setWidth(data.component().getPreferredSize().width);
				return;
			}
		}
	}
Resets the named component back to its preferred size.
@param viewName the name of the component to restore to its preferred size
Ghidra/Features/ByteViewer/src/main/java/ghidra/app/plugin/core/byteviewer/InteractivePanelManager.java