feat: Flat demo.

This commit is contained in:
Zhang Dian
2023-09-18 19:13:49 +08:00
parent 737e6a3d8c
commit 134364f199
2 changed files with 442 additions and 609 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -16,8 +16,8 @@ public partial class ElasticWrapPanelDemoViewModel : ObservableObject
[ObservableProperty] private bool _isFillHorizontal;
[ObservableProperty] private bool _isFillVertical;
[ObservableProperty] private double _itemWidth;
[ObservableProperty] private double _itemHeight;
[ObservableProperty] private double? _itemWidth;
[ObservableProperty] private double? _itemHeight;
public ElasticWrapPanelDemoViewModel()
@@ -36,7 +36,7 @@ public partial class ElasticWrapPanelDemoViewModel : ObservableObject
IsFillHorizontal = true;
IsFillVertical = false;
ItemWidth = 100d;
ItemHeight = double.NaN;
ItemWidth = 40d;
ItemHeight = 40d;
}
}