Bug 156157 data item width change cannot be seen in layout
steps to reproduce: - create a report - add a data item - bring up properties - set its width to 1cm or 50%, etc - set its background color to blue - preview in html expected behavior: - data item width change can be seen in both layout and preview actual behavior: - it cannot be seen in layout
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/layout/ReportFlowLayout.java
int dx;
		
		int wHint = parent.getClientArea( ).width;
		int hHint = -1;
		initVariables( parent );
		initRow( );
		int i = 0;
		int display = ReportItemConstraint.NONE;
		int lastDisplay = ReportItemConstraint.NONE;
		while ( iterator.hasNext( ) )
		{
			IFigure f = (IFigure) iterator.next( );
			Insets fmargin = getFigureMargin( f );
			
			if ( getDisplay( f ) == ReportItemConstraint.BLOCK  || f instanceof ImageFigure)
			{
				wHint = parent.getClientArea( ).width;
			}
			else
			{
				wHint = -1;
			}
			if ( wHint != -1 )
			{
				wHint = Math.max( 0, wHint - fmargin.getWidth( ) );
			}
			Dimension pref = getChildSize( f, wHint, hHint );
			
			if ( f instanceof LabelFigure
					&& ( pref.width + fmargin.getWidth( ) ) > parent.getClientArea( ).width )