xamarin/Xamarin.Forms

[Bug] [UWP] Switch takes up more horizontal space then before

Offen

#9.052 geöffnet am 30.12.2019

 (2 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (1.926 Forks)batch import
4.3.0e/2 :clock2:good first issuehelp wantedi/regressioninactivep/UWPt/bug :bug:up-for-grabs

Repository-Metriken

Stars
 (5.644 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Description

Switch seems to take up more horizontal space in XF 4.3+.

Steps to Reproduce

Add a Switch to a StackLayout with Horizontal orientation

Expected Behavior

Switch only takes the horizontal space it needs

Actual Behavior

It's taking more space then needed

Basic Information

  • Version with issue:
  • Last known good version: 4.2
  • IDE: VS2019 16.4.2
  • Platform Target Frameworks:
    • UWP: 16299
  • Android Support Library Version:
  • Nuget Packages:
  • Affected Devices:

Screenshots

Yellow is the background color of the switch

UWP (Win 10 1903) image

Android image

iOS image

Reproduction Link

SwitchRepro.zip

Contributor Guide