xamarin/Xamarin.Forms

UWP BoxView doesn't respect WidthRequest

开放

#6,038 创建于 2019年4月29日

 (6 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
e/5 :clock5:help wantedinactivep/UWPs/unverifiedt/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

Description

BoxView doesn't respect WidthRequest on UWP.

Steps to Reproduce

<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:local="clr-namespace:XFBoxViewUWP"
             x:Class="XFBoxViewUWP.MainPage">

    <StackLayout>
        <!-- Place new controls here -->
        <BoxView Color="Green" WidthRequest="400" HeightRequest="400" CornerRadius="200"/>
    </StackLayout>

</ContentPage>
  1. Run

Expected Behavior

A circle should appear.

Actual Behavior

image

Basic Information

  • Version with issue: 3.2, 3.4, 3.6
  • Last known good version: Idk
  • IDE: Visual Studio 2019
  • Platform Target Frameworks:
    • UWP: 17134 (From default blank template)
  • Nuget Packages: Default Blank Template
  • Affected Devices: Windows devices

贡献者指南