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
{
		ReportItemConstraint constraint = (ReportItemConstraint) getConstraint( element );
		if ( constraint != null )
			return constraint.getDisplay( );
		else
			return ReportItemConstraint.BLOCK;
	}
	public Object getConstraint( IFigure child )
	{
		return constraints.get( child );
	}
	/**
	 * Sets the layout constraint of the given figure. The constraints can only
	 * be of type {@link ReportItemConstraint}.
	 * 
	 * @see LayoutManager#setConstraint(IFigure, Object)
	 */
	public void setConstraint( IFigure figure, Object newConstraint )
	{
		super.setConstraint( figure, newConstraint );
		if ( newConstraint != null )
		{
			
			constraints.put( figure, newConstraint );
		}
	}
	protected Dimension getChildSize( IFigure child, int wHint, int hHint )
	{
		ReportItemConstraint constraint = (ReportItemConstraint) getConstraint( child );
		Dimension preferredDimension = child.getPreferredSize( wHint, hHint );