dimension.width = preferredDimension.width;
{ if (constraint.getMeasure() != 0 && DesignChoiceConstants.UNITS_PERCENTAGE.equals( constraint.getUnits() )) { dimension.width = (int) constraint.getMeasure() * wHint / 100; } else { dimension.width = preferredDimension.width; } }
	protected Dimension getChildSize( IFigure child, int wHint, int hHint )	{		ReportItemConstraint constraint = (ReportItemConstraint) getConstraint( child );		Dimension preferredDimension = child.getPreferredSize( wHint, hHint );		if ( constraint != null )		{			if ( constraint.isNone( ) )			{				// DISPLAY = none, do not display				return new Dimension( 0, 0 );			}			Dimension dimension = constraint.getSize( );			if ( dimension.height <= 0 )				dimension.height = preferredDimension.height;			if ( dimension.width <= 0 )				dimension.width = preferredDimension.width;			return dimension;		}		else		{			return preferredDimension;		}	}