}
    		private void adjustSize(float maxWidth) {    			    			// find difference between maxWidth and rowWidth;    			float horizSpace = maxWidth -width;       	    			float padding = 0;    			if (horizSpace > 0)    				padding = horizSpace/boxes.size();    			float boxWidth;    			Iterator iter = boxes.iterator();    			ChainBox box;    			float x = 0;    			while (iter.hasNext()) {    				box =(ChainBox) iter.next();    				box.setHeight(height);    				boxWidth = (float)box.getWidth();    				if (padding > 0) {    					boxWidth += padding;    					box.setWidth(boxWidth);    				}    				Point2D pt  = box.getOffset();    				box.setOffset(x,pt.getY());    				box.centerChain();    				x += boxWidth;    			}    			width = maxWidth;    		}