This repository has been archived by the owner on May 1, 2024. It is now read-only.
This repository has been archived by the owner on May 1, 2024. It is now read-only.
DesiredSize at 3.2 Includes Margin which causes controls to be hidden #3616
Closed
Description
Description
Sizing calculation changed between 3.1.0.697729 and 3.2.x-pre2. In 3.1.x the DesiredSize did not include the Margin. In 3.2.x the DesiredSize does include the margin. I noticed this when using a StackLayout that contains an SKCanvasView and Label. In 3.1 the label is visible, in 3.2 the label is not visible. I reproduced this using the SkiaSharpFormsDemos SimpleCirclePage.
Steps to Reproduce
- Run the sample code against 3.1 and 3.2 Xamarin.Forms.
Expected Behavior
3.1 - Both the skia drawing and label and button below are visible.
Actual Behavior
In 3.2 the label is hidden
Basic Information
- Version with issue:3.2.0.729530-pre
- Last known good version:3.1.0.697729
- IDE:VS2017
- Platform Target Frameworks:
- iOS:
- Android:
- UWP:
- Android Support Library Version:
- Nuget Packages:
- Affected Devices:
Screenshots
Expected (functionality at 3.1)
Actual (functionality at 3.2 - note missing label)
DesiredSize Calculation at 3.1
DesiredSize Calculation at 3.2 - now includes margin