Skip to content

Commit

Permalink
chore: Measure when Frame is set
Browse files Browse the repository at this point in the history
  • Loading branch information
Youssef1313 committed Oct 14, 2024
1 parent d5d9aac commit 2da9886
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -658,8 +658,10 @@ public override CGRect Frame
get => base.Frame;
set
{
var content = Content;
content?.Measure(value.Size);
base.Frame = value;
Content?.Arrange(value);
content?.Arrange(value);
}
}

Expand Down

0 comments on commit 2da9886

Please sign in to comment.