@Override
	public void dataTypeAlignmentChanged(DataType dt) {
		if (isPackingEnabled()) {
			repack(true);
		}
	}
Get the available space for an existing defined component in relation to the next defined 
component or the end of the structure.  Method should be used in conjunction with
{@link #consumeBytesAfter(int, int)} and/or {@link #shiftOffsets(int, int, int)} for
non-packed structure use.  This method is intended to supplt the maxLength parameter
for the {@link #getPreferredComponentLength(DataType, int, int)} method call.

@param index defined components index
@return available space for this component (i.e., maxLength). {@link Integer#MAX_VALUE} 
is returned if last component in non-packed structure, or -1 if structure is packed.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/data/StructureDataType.java