As you can see in this image, the image set on the button, gets bottom clipped for no apparent reason. The image is 24x24px big and the AutoSize
property of the button is set to True
.
The button is positioned directly on the window, so there can't be any layout messing with its size.
There is an implicit margin inside of the <button>
control. If you expand the button's height the clipping will disappear.