diff --git a/src/EntityViews.SourceGenerators/Templates/Maui/_MauiDefaultInputs.cs b/src/EntityViews.SourceGenerators/Templates/Maui/_MauiDefaultInputs.cs index afe4968..02f6358 100644 --- a/src/EntityViews.SourceGenerators/Templates/Maui/_MauiDefaultInputs.cs +++ b/src/EntityViews.SourceGenerators/Templates/Maui/_MauiDefaultInputs.cs @@ -113,6 +113,12 @@ public EntityViewsInput() _inputLayout.Children.Add(input); _inputLayout.Children.Add(_activeBoxView); + SizeChanged += (_, _) => + {{ + _inputLayout.WidthRequest = Width; + _inputLayout.HeightRequest = Height; + }}; + Children.Add(_inputLayout); Children.Add(_validationBorder);