xamarin/Xamarin.Forms

UWP BoxView doesn't respect WidthRequest

Offen

#6.038 geöffnet am 29.04.2019

 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (1.926 Forks)batch import
e/5 :clock5:help wantedinactivep/UWPs/unverifiedt/bug :bug:up-for-grabs

Repository-Metriken

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

Beschreibung

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

Contributor Guide