xamarin/Xamarin.Forms

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

开放

#9,052 创建于 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

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 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

贡献者指南