public int getToolBarWidth() {
		JComponent toolBarComponent = toolBarMgr.getToolBar();
		return toolBarComponent.getMinimumSize().width;
	}
updates the toolbar to remove the given action.
@param action the action that was removed.
Ghidra/Framework/Docking/src/main/java/docking/GenericHeader.java