Browse Source
Merge pull request #3842 from sdoroff/fix-datagrid-rowsize-bug-3687
Fix DataGrid RowSize Bug #3687
pull/3846/head
Steven Kirk
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
0 deletions
-
src/Avalonia.Controls.DataGrid/Primitives/DataGridCellsPresenter.cs
|
|
|
@ -269,6 +269,9 @@ namespace Avalonia.Controls.Primitives |
|
|
|
// Since we didn't know the final widths of the columns until we resized,
|
|
|
|
// we waited until now to measure each cell
|
|
|
|
double leftEdge = 0; |
|
|
|
if (autoSizeHeight) |
|
|
|
DesiredHeight = 0; |
|
|
|
|
|
|
|
foreach (DataGridColumn column in OwningGrid.ColumnsInternal.GetVisibleColumns()) |
|
|
|
{ |
|
|
|
DataGridCell cell = OwningRow.Cells[column.Index]; |
|
|
|
|