Am I doing something wrong?
I'm adding controls to a GridBagLayoutPanel and setting the fill property on GridBagLayout.GridBagConstraint Fill = both.
For ultragrids and buttons this works great and everything grows when the form is resized.
However, UltraTextEditor and UltraComboEditor don't seem to want to fill the cells ar either runtime or design time. even better if you make the form really small you end up with tiny editors even when the form is made large again...
Any pointers?
Thanks,
- Anthony
Hello Anthony,
Just my two cents on this one...
I was facing exactly the same problem and the solution Mike provided solved it.
Regards,
Damien
Hi Anthony,
My guess is that the controls that are not sizing have AutoSize (on the control itself) set to true. I beleive the UltraTextEditor has AutoSize set to true by default so that he control sizes it's height based on the font. So you probably just need to set this to false to allow the GridBagLayoutPanel to size it.