void function ( Button arg0 ) { Assert . isNotNull ( arg0 ) ; Object loc0 = arg0 . getLayoutData ( ) ; if ( loc0 instanceof GridData ) { ( ( GridData ) loc0 ) . widthHint = getButtonWidthHint ( arg0 ) ; ( ( GridData ) loc0 ) . horizontalAlignment = GridData . FILL ; } }
sets width and height hint for the button control . note : this is a nop if the button 's layout data is not an instance of griddata . concode_field_sep Logger LOG concode_field_sep GridLayout newLayoutNoMargins concode_elem_sep int getButtonWidthHint concode_elem_sep Shell getShell concode_elem_sep void setAccessibilityText concode_elem_sep int getTableHeightHint concode_elem_sep Display getStandardDisplay