Build changes Button Size Property

2019-08-29 10:07发布

问题:

If i add a Button (c# .net windows forms) to a Split Container the Size Property of this button is changed at build time.

This Buttons has a Pic on it. So it has be 30 * 30.

But its not. It streches almost to twice the size!

I allready set Min and Max of the Button to 30.

What do i have to set so it dosnot resize?!

Thank you for reading!

Thomas

PS

  • Anchor: Top, Left
  • Dock : None

It looks like all of the controls on an splitcontainer are stretched. If i write 20 * 20 is more like 30 * 30. Even my font size looks not like 12 but like 14 (of an lable):