container.setLayout( WidgetUtil.createGridLayout( 5 ) );
container.setLayout( WidgetUtil.createGridLayout( 5 ,15) );
	public void buildUI( Composite parent  )	{		super.buildUI( parent );		container.setLayout( WidgetUtil.createGridLayout( 5 ) );		// Defines providers.		IDescriptorProvider heightProvider = new UnitPropertyDescriptorProvider( RowHandle.HEIGHT_PROP,				ReportDesignConstants.ROW_ELEMENT );		IDescriptorProvider hAlignProvider = new ComboPropertyDescriptorProvider( StyleHandle.TEXT_ALIGN_PROP,				ReportDesignConstants.STYLE_ELEMENT );		IDescriptorProvider backgroundProvider = new ColorPropertyDescriptorProvider( StyleHandle.BACKGROUND_COLOR_PROP,				ReportDesignConstants.STYLE_ELEMENT );		IDescriptorProvider vAlignProvider = new ComboPropertyDescriptorProvider( StyleHandle.VERTICAL_ALIGN_PROP,				ReportDesignConstants.STYLE_ELEMENT );		IDescriptorProvider styleProvider = new SimpleComboPropertyDescriptorProvider( ReportItemHandle.STYLE_PROP,				ReportDesignConstants.ROW_ELEMENT );		// Defines sections.		UnitSection heightSection = new UnitSection( heightProvider.getDisplayName( ),				container,				true );		ComboSection hAlignSection = new ComboSection( hAlignProvider.getDisplayName( ),				container,				true );		ColorSection backgroundSection = new ColorSection( backgroundProvider.getDisplayName( ),				container,				true );		ComboSection vAlignSection = new ComboSection( vAlignProvider.getDisplayName( ),				container,				true );		Section seperatorSection = new SeperatorSection( container, SWT.HORIZONTAL );		SimpleComboSection styleSection = new SimpleComboSection( styleProvider.getDisplayName( ),				container,				true );		// Sets providers.		heightSection.setProvider( heightProvider );		hAlignSection.setProvider( hAlignProvider );		backgroundSection.setProvider( backgroundProvider );		vAlignSection.setProvider( vAlignProvider );		styleSection.setProvider( styleProvider );		// Sets widths.		heightSection.setWidth( 180 );		hAlignSection.setWidth( 180 );		backgroundSection.setWidth( 180 );		vAlignSection.setWidth( 180 );		styleSection.setWidth( 180 );		// Sets layout num.		heightSection.setLayoutNum( 2 );		hAlignSection.setLayoutNum( 3 );		backgroundSection.setLayoutNum( 2 );		vAlignSection.setLayoutNum( 3 );		styleSection.setLayoutNum( 5 );		// Sets fill grid num.		heightSection.setGridPlaceholder( 0, true );		hAlignSection.setGridPlaceholder( 1, true );		backgroundSection.setGridPlaceholder( 0, true );		vAlignSection.setGridPlaceholder( 1, true );		styleSection.setGridPlaceholder( 3, true );		// Adds sections into container page.		addSection( PageSectionId.ROW_HEIGHT, heightSection ); //$NON-NLS-1$		addSection( PageSectionId.ROW_HORIZONTAL_ALIGN, hAlignSection ); //$NON-NLS-1$		addSection( PageSectionId.ROW_BACKGROUND_COLOR, backgroundSection ); //$NON-NLS-1$		addSection( PageSectionId.ROW_VERTICAL_ALIGN, vAlignSection ); //$NON-NLS-1$		addSection( PageSectionId.ROW_SEPERATOR, seperatorSection ); //$NON-NLS-1$		addSection( PageSectionId.ROW_STYLE, styleSection ); //$NON-NLS-1$		createSections( );		layoutSections( );	}