Open tim-wolfe opened 4 years ago
Found a work around and this info might be helpful for troubleshooting the problem:
<StackLayout BackgroundColor="Lime"
VerticalOptions="FillAndExpand"
RelativeLayout.XConstraint="{ConstraintExpression Type=RelativeToParent,Property=X}"
RelativeLayout.YConstraint="{ConstraintExpression Type=RelativeToParent,Property=Height,Factor=0}"
RelativeLayout.WidthConstraint="{ConstraintExpression Type=RelativeToParent,Property=Width}"
RelativeLayout.HeightConstraint="{ConstraintExpression Type=RelativeToParent,Property=Height}">
</StackLayout>
Changed the YConstraint property from Y to Height and added a factor with the value of 0. The StackLayout now starts at (0,0), right below navigation bar as expected.
Description
The page content (Y) starts below the navigation bar and a top bar, even thought we do not have a top bar defined. Doesn't work on iOS but works as expected on Android.
Steps to Reproduce
Expected Behavior
The background color lime would fill all of the screen below the navigation bar.
Actual Behavior
There is a padding between the navigation bar and the RelativeLayout, I am assuming this is where the top tab bar would be.
Basic Information
Screenshots