int getSpacing(int i){
    	int sp = 0;
    	if (items.length > 2)
    		sp = getWidth()/10;
    	else if (items.length == 2 && i ==0)
    		sp = 30;
    	else if (items.length == 2 && i == 1)
    		sp = 0;
    	return sp;
    }