xamarin/Xamarin.Forms

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

Aperta

#7949 aperta il 11 ott 2019

 (12 commenti) (1 reazione) (0 assegnatari)C# (1926 fork)batch import
e/2 :clock2:help wantedp/macOSt/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor