1
0
Эх сурвалжийг харах

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

Andrey Kunchev 6 жил өмнө
parent
commit
a612ee5a3e

+ 1 - 1
src/Avalonia.Controls/WrapPanel.cs

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