code: public static void setButtonDimensionHint(Button button) {
  		Assert.isNotNull(button);
  		Object gd= button.getLayoutData();
  		if (gd instanceof GridData) {
  			((GridData)gd).widthHint= getButtonWidthHint(button);
  			((GridData)gd).horizontalAlignment = GridData.FILL;
  		}
  	}
docs: Sets width and height hint for the button control.
  <b>Note:</b> This is a NOP if the button's layout data is not
  an instance of <code>GridData</code>.
  
  @param button	the button for which to set the dimension hint