Kbase P20636: Image doesn't fit in the button, a part is cropped.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/12/2003 |
|
Status: Unverified
SYMPTOM(s):
Image doesn't fit in the button
The image seems to be cropped of some pixels
CAUSE:
The size of a button refers to the size of the whole widget. The button's got a border with is own thickness that has not been taken into consideration.
The maximum size of an image that you could load in a button is the button size minus the border thickness.
FIX:
Resize the button in order to take in consideration the border thickness.