Skip to content

Commit

Permalink
listen for size changes
Browse files Browse the repository at this point in the history
  • Loading branch information
beto-rodriguez committed Feb 24, 2024
1 parent faa4b13 commit 5340a14
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5340a14

Please sign in to comment.