@Override
			public Dimension getMinimumSize() {
				int width = getBestWidth();
				Dimension preferredSize = super.getPreferredSize();
				preferredSize.width = Math.min(width, preferredSize.width);
				return preferredSize;
			}
Sets whether this editor should consumer Enter key presses
@see DropDownSelectionTextField#setConsumeEnterKeyPress(boolean)

@param consume true to consume
Ghidra/Features/Base/src/main/java/ghidra/app/util/datatype/CategoryPathSelectionEditor.java