size += getParent().getTextWidth(text) + getTextIndent(index) * 2 + 1;
size += getTextWidth(text) + getTextIndent(index) * 2 + 1;
int getPreferredWidth(int index) {	int size = getImageStopX(index);	String text = getText(index);	if (text != null) {		size += getParent().getTextWidth(text) + getTextIndent(index) * 2 + 1;	}	return size;}