Krypton-OutlookGrid icon indicating copy to clipboard operation
Krypton-OutlookGrid copied to clipboard

How can I change height of each row in the OutlookGrid

Open sigster opened this issue 6 years ago • 2 comments

Hi

I change the font and I need to change height of each row in the OutlookGrid

Finish to try this don't work Me.OutlookGrid1.RowTemplate.Height = 30

Regards Sigster

sigster avatar Aug 18 '18 21:08 sigster

Hi sigster,

For an unknown reason (well maybe located in KryptonDatagridview.cs at method GetCellPreferredHeight) the row template seems not to work.

A workaround is to set the height during populating the grid :

row = new OutlookGridRow();
row.Height = 80;
row.CreateCells(....

Can you give a try ?

Cocotteseb avatar Aug 20 '18 21:08 Cocotteseb

Thanks Cocotteseb this works

sigster avatar Aug 22 '18 06:08 sigster