Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I change height of each row in the OutlookGrid #7

Open
sigster opened this issue Aug 18, 2018 · 2 comments
Open

How can I change height of each row in the OutlookGrid #7

sigster opened this issue Aug 18, 2018 · 2 comments

Comments

@sigster
Copy link

sigster commented Aug 18, 2018

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

@Cocotteseb
Copy link
Owner

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 ?

@sigster
Copy link
Author

sigster commented Aug 22, 2018

Thanks Cocotteseb this works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants