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
{
				pref = getChildSize( f,
						Math.max( 0, parent.getClientArea( ).width
								- fmargin.getWidth( ) ),
						hHint );
			}
			Rectangle r = new Rectangle( 0,
					0,
					pref.width + fmargin.getWidth( ),
					pref.height + fmargin.getHeight( ) );
			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++;