private int setWidth(int width) {

        m_width = width;
        int width_label = (m_width / m_part);
        if (m_complementPartWidth) {
            int complementaryWidth = m_width - width_label;
            width_label = complementaryWidth < 30 ? 30 : complementaryWidth;
        }
        int width_table = (m_width - 30) - width_label;
        m_table.getElement().getStyle().setWidth(width_table, Unit.PX);
        return width_table;
    }
private int setWidth ( int width ) { m_width = width ; int width_label = ( m_width / m_part ) ; if ( m_complementPartWidth ) { int complementaryWidth = m_width - width_label ; width_label = complementaryWidth < 30 ? 30 : complementaryWidth ; } int width_table = ( m_width - 30 ) - width_label ; m_table . getElement ( ) . getStyle ( ) . setWidth ( width_table , Unit . PX ) ; return width_table ; }
Sets the widget width.<p>

@param width the widget width

@return the width set for the table that is part of the widget