xamarin/Xamarin.Forms

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

オープン

#9,052 opened on 2019/12/30

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
4.3.0e/2 :clock2:good first issuehelp wantedi/regressioninactivep/UWPt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド