Browse Source

fix WrapPanel issue #3165 item width/height should trigger new measure

pull/3196/head
Andrey Kunchev 7 years ago
parent
commit
a612ee5a3e
  1. 2
      src/Avalonia.Controls/WrapPanel.cs

2
src/Avalonia.Controls/WrapPanel.cs

@ -42,7 +42,7 @@ namespace Avalonia.Controls
/// </summary>
static WrapPanel()
{
AffectsMeasure<WrapPanel>(OrientationProperty);
AffectsMeasure<WrapPanel>(OrientationProperty, ItemWidthProperty, ItemHeightProperty);
}
/// <summary>

Loading…
Cancel
Save