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?

Answers


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?!


Need Your Help

asp.Net MVC4 having two database entities reference one another

c# asp.net asp.net-mvc asp.net-mvc-4

I have been attempting to create a mini project in asp.NET MVC4 that simulates a small gaming review website. There's nothing spectacular going on I just wanted to get a handle on different aspects...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.