Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
735
Undo resets control locations
posted

Hi,

For some reason when you align controls in the GridBagLayoutPanel and press Undo in Visual Studio then all of the controls lose their Origin settings.

 Steps to reproduce the problem:

  1. Drag a UltraGridBagLayoutPanel onto the form.
  2. Drag some labels and textboxes and make a few rows (2 columns - 1 for labels, 1 for textboxes).
  3. Delete one textbox.
  4. Click Edit > Undo.
  5. Stare in shock as your positioning efforts go down the drain.
I'm using Infragistics v8.1.