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
744
GridbagLayoutPanel has a really bad bug
posted

Hi, I've been designing forms using the panel and about 50% of the time when I run the project in VS2008 gridbaglayoutpanel decides it wants to completely change the layout.

See these screenshots:-

The form in designer before i run the project:-

 Before Image

 and now after I've ran the project:-

After

What's going on?

 

- Anthony

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Anthony,

    What version are you using? Do you have the latest Hot Fix? 

    I've never seen anything like this before. Are you sure nothing in your code is changing a property on one of the controls inside the panel that might be causing this?

    Perhaps something in the code is resizing the form so that it's really small and then enlarging it again and this is causing the control sizes to change in a disproportional way. 

    Can you reproduce this in a sample project? If so, you should Submit an incident to Infragistics Developer Support

Children