Control size change itself when i build. C#.NET WinForm DevExpress
When I build my project, a panel and a groupbox control in a form are changing! All build action cause to this control's height increase. For example, i set the panel height as 45, then i build the project. After build, the height is 52. One more build, the damn height is 60. Indeed there is one more form that is the same this one. But it is not changing. How can i find what change this controls?
Do not set auto size to the panel or groupbox. AutoSize = false;
Layoutcontrols automaticly resize your controls to fit the container. This is very nice if endusers change the size of form (maximize or sth.) because you hold a consistent look and feel. If you want to set a fix size for a control on your layoutcontrol you have to rightclick it and say FixSize. Its same effect like you set MinimumSize and MaximumSize Properties. Then your controls cannot resize.
Thanks for your care. I finally solved it. This problem is not because of DevExpress layout compenent or Form.AutoSize attribute. Actually i cant undestand how i solve exactly. I recognize that i have set Font attribute of my Form as "Verdana" instead of default value "Tahoma". Then i just reset Font attribute of my windows form. Finally, this problem (growing up itself) is solved. I cant realize how it is?!