Skip to content

Commit

Permalink
Fix WrapperView measure (dotnet#507)
Browse files Browse the repository at this point in the history
  • Loading branch information
myroot committed Aug 24, 2022
1 parent b73e0ce commit 73412ae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Core/src/Platform/Tizen/WrapperView.cs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ TSize IMeasurable.Measure(double availableWidth, double availableHeight)
{
return measurable.Measure(availableWidth, availableHeight);
}
else if (Content != null)
{
return Content.NaturalSize2D.ToCommon();
}
else
{
return NaturalSize2D.ToCommon();
Expand Down

0 comments on commit 73412ae

Please sign in to comment.