vendredi 3 avril 2015

AutoSize and Size property in Winforms

There is GroupBox on the Form with below properties:



AutoSize = true;
AutoSizeMode = GrowAndShrink;


It seems, if you add Control into this GroupBox, the GroupBox's height will be:


Control.Top + Control.Height + 20;


Is there any way to decrease this number ---> 20?


Aucun commentaire:

Enregistrer un commentaire