xamarin/Xamarin.Forms

UWP BoxView doesn't respect WidthRequest

オープン

#6,038 opened on 2019/04/29

 (6 件のコメント) (0 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
e/5 :clock5:help wantedinactivep/UWPs/unverifiedt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged 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

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