I'm gradually becoming a gridbag fan. I continue to have two frustrations, however:
1) There is apparently no way to easily and simply provide padding around ALL cells within a gridbag, forcing one to always have to manually select controls and add insets.
2) There is apparently no way to configure a gridbag and its controls so that they will successfully layout regardless of display settings in Control Panel > Appearance > Display. "125%" is particularly nasty in my experience. One would think autosizing everything should do the trick. Wishful thinking.
Douglas
Hello Douglas,
I think that you could achieve this using 'CreationFilter'. You could read about it at the following link:
http://help.infragistics.com/Help/NetAdvantage/WinForms/2011.1/CLR2.0/html/Win_Creation_Filter.html.
Here are some topics from our community which could also help you:
http://community.infragistics.com/forums/t/34485.aspx,
http://forums.infragistics.com/forums/t/47561.aspx,
http://community.infragistics.com/forums/t/58186.aspx and
http://community.infragistics.com/forums/t/50234.aspx.
I believe that the second question has already been discussed in the following forum thread:
http://forums.infragistics.com/forums/t/45593.aspx.
Please feel free to let me know if I misunderstood you or if you have any other questions.
Thanks for the detailed and helpful reply, Boris! This is exactly what I've needed.
(I'll overlook the fact that it's been two years since my original post :)