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
List children = container.getChildren( );
		int width = 0;
		int height = 0;
		IFigure child;
		IFigure lastChild = null;
		Dimension childSize;
		
		for ( int i = 0; i < children.size( ); i++ )
		{
			child = (IFigure) children.get( i );
			Insets fmargin = getFigureMargin( child );
			if ( wHint != -1 )
			{
				wHint = Math.max( 0, wHint - fmargin.getWidth( ) );
			}
			childSize = child.getMinimumSize( wHint, hHint );
			if ( i == 0 )
			{
				width = childSize.width + fmargin.getWidth( );
				height = childSize.height + fmargin.getHeight( );
			}
			else if ( ( getDisplay( child ) == ReportItemConstraint.NONE ) )
			{
				
			}
			else if ( ( width
					+ childSize.width
					+ fmargin.getWidth( )
					+ getMinorSpacing( ) <= maxWidth )
					&& ( ( getDisplay( child ) == ReportItemConstraint.INLINE ) && ( getDisplay( lastChild ) == ReportItemConstraint.INLINE ) ) )