I am having trouble getting controls to position themselves in the upper left corner of a Windows.Forms.Panel which is hosting a WinGridBagLayoutPanel. There are a number of controls that are under the control of the WinGridBagLayoutPanel and are ending up against the left and vertically centered. The relative positions of the individual controls is perfect but I need to have the controls cluster at the top left corner of the panel. Any ideas?
Hi,
I'm having a hard time understanding what you are trying to do. Can you post a screen shot or two showing what you need?
In the following screen shot the selected area is a Panel. This Panel has a number of children which are properly clustered relative to each other and properly positioned to the left side of the Panel. However, the cluster is improperly aligned vertically. It is desired that the cluster be aligned to the top left corner of the Panel, not the middle left.