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 FontMetrics fFontMetrics concode_field_sep Group createGroup concode_elem_sep Text createText concode_elem_sep Button createCheckButton concode_elem_sep Composite createComposite concode_elem_sep Label createLabel concode_elem_sep int getButtonWidthHint concode_elem_sep Button createRadioButton concode_elem_sep int convertHorizontalDLUsToPixels
void function ( Button arg0 ) { Object loc0 = arg0 . getLayoutData ( ) ; if ( loc0 instanceof GridData ) { ( ( GridData ) loc0 ) . widthHint = getButtonWidthHint ( arg0 ) ; ( ( GridData ) loc0 ) . horizontalAlignment = GridData . FILL ; } }