xamarin/Xamarin.Forms

[Bug] Aspect settings not working on MacOS (4.3-pre)

Open

#7,949 opened on Oct 11, 2019

 (12 comments) (1 reaction) (0 assignees)C# (1,926 forks)batch import
e/2 :clock2:help wantedp/macOSt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Description

Only 1 of the 3 aspect settings works on XF Mac.

Steps to Reproduce

  1. Create a Xamarin Forms project from template
  2. Add the Mac project to it as per document: https://docs.microsoft.com/en-us/xamarin/xamarin-forms/platform/other/mac
  3. Add image controls to the main page with each aspect setting being used.
  4. Run the app.

Expected Behavior

The expected behavior is demonstrated on iOS: ImageAspectiOS

Actual Behavior

The actual behavior in a MacOS window:

Basic Information

Reproduction Link

ImageAspect.zip

Contributor guide