Bug 106425 Percent value doesn't work properly in height property of image and chart items
Description: Percent value doesn't work properly in height property of image and chart items Steps to reproduce: 1.Insert a chart 2.Set it's width to 100% and height to 100% 3.In Chart Builder,modify some attributes and click OK 4.Insert a image 5.Set it's width to 100% Expected result: It work normal. Actual result: Chart item's width and height changed back to default values. Image shrink to a small size in layout viewer.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/layout/ReportFlowLayout.java
display = getDisplay( f );
			if ( data.rowCount > data.rowPos )
			{
				if ( ( data.rowWidth + r.width > data.maxWidth )
						|| display == ReportItemConstraint.BLOCK
						|| lastDisplay == ReportItemConstraint.BLOCK )
					layoutRow( parent );
			}
			lastDisplay = display;
			r.x = data.rowX;
			r.y = data.rowY;
			dx = r.width + getMinorSpacing( );
			data.rowX += dx;
			data.rowWidth += dx;
			data.rowHeight = Math.max( data.rowHeight, r.height );
			data.row[data.rowCount] = f;
			data.margin[data.rowCount] = fmargin;
			data.bounds[data.rowCount] = r;
			data.rowCount++;
			i++;
		}
		if ( data.rowCount > data.rowPos )
		{
			layoutRow( parent );
		}
		layoutVertical( parent );
		data = null;
	}
	private void layoutVertical( IFigure parent )
	{