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.core/src/org/eclipse/birt/report/designer/core/model/schematic/LabelHandleAdapter.java
{
	/**
	 * Constructor
	 * 
	 * @param labelHandle
	 *            The label handle.
	 * @param mark
	 */
	public LabelHandleAdapter( ReportItemHandle labelHandle,
			IModelAdapterHelper mark )
	{
		super( labelHandle, mark );
	}
	/**
	 * Gets size of label item.
	 * 
	 * @return the size of label item.
	 */
	public Dimension getSize( )
	{
		DimensionHandle handle = ( (ReportItemHandle) getHandle( ) ).getWidth( );
		int px = (int) DEUtil.convertoToPixel( handle );
		handle = ( (ReportItemHandle) getHandle( ) ).getHeight( );
		int py = (int) DEUtil.convertoToPixel( handle );
		px = Math.max( 0, px );
		py = Math.max( 0, py );
		return new Dimension( px, py );
	}
}