done... the problem is still there! it is not a cell painting problem, but
an editing one;
I found that forcing (e.s. in the 'EditingControlShowing' event)
( (TextBox) ( dataGridView1.EditingControl ) ).AutoSize = false;
seems to be a workaround, but I'd prefer not modify the DataGridView
positioning/sizing text editing preconditions (I have manually calculate
the right Height);
this is the same problem of TextBox'es with BorderStyle None: increase the
font
(at least Microsoft Sans Serif) and Text like "gggg" is not full visible;
you can change the
AutoSize property to false and solve the problem, but you loose the "auto
Height sizing"...
Summing up it seems a TextBox problem (from which
"DataGridViewTextBoxEditingControl" derives),
a bug with some fonts when BorderStyle is None
> One thing you can try is, in Form.Load (or anytime after the font was
> resized), to call:
>
> this.dataGridView1.AutoResizeRows();