I have a strange issue. When I am working with Windows Forms (using visual basic) sometimes edits to my Form Layout in Designer causes the Form size and Component layout to change on it's own. I'm not modifying anything myself here. Here are some images of what I'm talking about:
I have looked at the Designer file and these are some sample diffs concerning one component.
Before Edit.
'
'btnStop
'
Me.btnStop.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.btnStop.BackColor = System.Drawing.Color.Red
Me.btnStop.Enabled = False
Me.btnStop.Font = New System.Drawing.Font("Microsoft Sans Serif", 60.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.btnStop.ForeColor = System.Drawing.SystemColors.Control
Me.btnStop.Location = New System.Drawing.Point(546, 398)
Me.btnStop.Name = "btnStop"
Me.btnStop.Size = New System.Drawing.Size(450, 250)
Me.btnStop.TabIndex = 5
Me.btnStop.Text = "Stop"
Me.btnStop.UseVisualStyleBackColor = False
After Edit.
'
'btnStop
'
Me.btnStop.Anchor = CType((System.Windows.Forms.AnchorStyles.Bottom Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.btnStop.BackColor = System.Drawing.Color.Red
Me.btnStop.Enabled = False
Me.btnStop.Font = New System.Drawing.Font("Microsoft Sans Serif", 60.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
Me.btnStop.ForeColor = System.Drawing.SystemColors.Control
Me.btnStop.Location = New System.Drawing.Point(1092, 765)
Me.btnStop.Margin = New System.Windows.Forms.Padding(6, 6, 6, 6)
Me.btnStop.Name = "btnStop"
Me.btnStop.Size = New System.Drawing.Size(900, 481)
Me.btnStop.TabIndex = 5
Me.btnStop.Text = "Stop"
Me.btnStop.UseVisualStyleBackColor = False