This project is read-only.

Grid snapping on resize

Oct 1, 2012 at 8:59 PM

I have strange issue that I am trying to solve. I have a Panel with SourceGrid placed on top of it with Docked property set to Fill. Now I have few columns and columns are custom columns derived from SourceGrid.Cells.ColumnHeader. Now this UserControl (that is made out of Panel with grid on it) is used on one of my Forms. When Resizing Form The grid columns are "snapping" Like when you try resize Listbox with IntegralHeight set to true to give you idea what I am talking about.

I added on resize callback and I can see that adding each individual column size does not add up to client size. Is this a bug? Or am I missing some property that needs to be set or unset.

Thank you