Form sizing problems in VS2012

TimTomUK

New member
Joined
Jan 4, 2013
Messages
1
Programming Experience
10+
Hi :eek:)

I upgraded? to vs2012 a couple of months back and since I have done I've had lots of problems with form sizing.

When I close and re-open forms in design view the form changes size randomly.

What is strange is that any controls anchored to the right remain anchored but retain their position so the gap between them and the right hand border grows. This picture may make it clearer

2013-01-04_1206.png

The forms are also shrinking at runtime and I have to set the minimum form size to stop this happening.
Wasn't a problem with vs2010 and is driving me crazy.


Any help gratefully received


Thanks so much

Tim
 
Tim, I ran into a similar situation today. I discovered that a second autoscaling of my form was being fired when Me.FormBorderStyle was being set int the <formName>.Designer.<languageSuffix> code. Removing that line of code stopped it from happening and the form shows the same size as at design time.
 
Back
Top