Windows Form size bug

Erick Galindo 1 Reputation point

Hi, I was creating a system but when I added a button Windows Form Design started changing the size of every panel I added.

Then, I pressed CTRL + Z to undo the previous size change, the size starts incrementing and now I am unable to resize manually the panels.

Here is the evidence:



Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,851 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Taylor 49,166 Reputation points

    It is unclear to me what the bug is. Your screenshot doesn't really provide any information about what controls you're using and how you've configured the various layout options like Anchor, Dock, Padding, Size, AutoSize, etc. Are you using containers to group controls? If so which ones? What is the z-order that will be used to control the final layout during rendering? A sample winforms code block that replicates the issue would be the most beneficial.

    Also please identify what runtime you are targeting.

    0 comments No comments