Browse Source

Merge branch 'feature/keyspline' of https://github.com/Deadpikle/Avalonia into feature/keyspline

pull/3844/head
Deadpikle 7 years ago
parent
commit
8e9d5a6822
  1. 3
      src/Avalonia.Controls.DataGrid/Primitives/DataGridCellsPresenter.cs

3
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];

Loading…
Cancel
Save