Browse Source
Merge pull request #8125 from timunie/fix/DataGridCellNotShrinkingIssue
Fix DataGridRow resizing issue
pull/8156/head
Max Katz
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
src/Avalonia.Controls.DataGrid/Primitives/DataGridCellsPresenter.cs
|
|
|
@ -218,6 +218,8 @@ namespace Avalonia.Controls.Primitives |
|
|
|
{ |
|
|
|
// No explicit height values were set so we can autosize
|
|
|
|
autoSizeHeight = true; |
|
|
|
// We need to invalidate desired height in order to grow or shrink as needed
|
|
|
|
InvalidateDesiredHeight(); |
|
|
|
measureHeight = double.PositiveInfinity; |
|
|
|
} |
|
|
|
else |
|
|
|
|