Posted 4 August 2023, 11:05 am EST
We use our own class that inherits from C1FlexGrid extensively in our Windows forms, as well as the Softgroup .Net Forms Resize control to automatically resize form contents when the user resizes the form. The Softgroup control handles the ClientSizeChanged event on the forms to resize the C1FlexGrid by setting its Height, Width, and Font size.
In the latest build, if the C1FlexGrid.Rows.DefaultHeight is set to any value other than -1, then increasing the Height of the grid will not increase the row height. The row height remains static while the font size increases, causing the text in the rows to be truncated.
In the old build we were using, you could set the FlexGrid.Rows.DefaultHeight to any value and the grid rows would increase in height after increasing the Height of the grid.
Is there any way to get the old behavior back? Otherwise, we will need to go with the DefaultHeight of -1 which does not display with the row height we want.
Please see the attached sample.