FlowBoxWrapper wrapper = new FlowBoxWrapper(box); left = Math.min( left, wrapper.getX() ); top = Math.min( top, wrapper.getY() ); bottom = Math.max( bottom, wrapper.getY() + wrapper.getHeight( ) );
left = Math.min( left, box.getX() ); top = Math.min( top, box.getBaseline( )-box.getAscent( ) ); bottom = Math.max( bottom, box.getBaseline( )+box.getDescent( ) );
			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 );						FlowBoxWrapper wrapper = new FlowBoxWrapper(box);						left = Math.min( left, wrapper.getX() );						top = Math.min( top, wrapper.getY() );						bottom = Math.max( bottom, wrapper.getY() + wrapper.getHeight( ) );					}					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( );				}			}