private Widget setStyle ( Widget widget ) { widget . setWidth ( m_width ) ; widget . getElement ( ) . getStyle ( ) . setDisplay ( Display . INLINE_BLOCK ) ; return widget ; }
Set the style for the widgets in the panel according to the chosen style option .