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
1185
Uneven Rows in GridBagLayoutPanel
posted

I am attempting to move from using a standard windows TableLayoutPanel to using a GridBagLayoutPanel as I have a resizable screen and the redraw for the TableLayoutPanel is quite flickery

My problem is that when using the GridBagLayoutPanel, the first rows height is smaller than the rest.

Each control in the panel has had its Origin, Span and weight values input and double checked with great care.

The Panel has a 5x5 matrix layout and there is a mixture of spanning values. all the controls are in their correct position.

 

Parents
  • 53790
    posted

    Hi,

    Did you set properties "ExpandToFitHeight" and "ExpandToFitWidth" = true ?  Please if you have possiblity send us small exapmle with this problem, because I can`t simulate your problem.

    Please keep me in touch.

    Best Regards

    Georgi

Reply Children