Bug 198356 Width of report item does not take effect in Layout [03]
Description: Width of report item does not take effect in Layout. Build number: 2.2.1.v20070731-0928 Steps to reproduce: 1. New a report with a label. 2. Add all borders for the label, set Width and Height both to 3 in. Expected result: Both width and height settings take effect. Actual result: Only height setting takes effect. Error log: N/A
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/editors/schematic/figures/LabelFigure.java
* @param borderSize
	 *            the size of the MarginBorder
	 */
	public LabelFigure(int borderSize) {
		setBorder(new MarginBorder(borderSize));
		label = new TextFlow() {
			public void postValidate() {
				if (DesignChoiceConstants.DISPLAY_BLOCK.equals(display)
						|| DesignChoiceConstants.DISPLAY_INLINE.equals(display)) {
					List list = getFragments();
					FlowBox box;
					int left = Integer.MAX_VALUE, top = left;
					int bottom = Integer.MIN_VALUE;
					for (int i = 0; i < list.size(); i++) {
						box = (FlowBox) list.get(i);
						left = Math.min(left, box.getX());
						top = Math
								.min(top, box.getBaseline() - box.getAscent());
						bottom = Math.max(bottom, box.getBaseline()
								+ box.getDescent());
					}
					setBounds(new Rectangle(left, top, LabelFigure.this
							.getClientArea().width, Math.max(LabelFigure.this
							.getClientArea().height, bottom - top)));
					list = getChildren();
					for (int i = 0; i < list.size(); i++) {
						((FlowFigure) list.get(i)).postValidate();
					}
				} else {
					super.postValidate();