xamarin/Xamarin.Forms

[Long-standing bug] Border of Entry appears to have a minimum width

Aperta

#8061 aperta il 17 ott 2019

 (2 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
e/3 :clock3:help wantedinactivep/UWPt/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Description

https://xamarin.github.io/bugzilla-archives/58/58741/bug.html

Steps to Reproduce, Expected Behavior, Actual Behavior

What happens: The right side of the Entry box border is cut off.

What should happen: The right side of the Entry box border should not be cut off.

<?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:MyApp"
             x:Class="MyApp.MainPage"
             x:Name="root">

    <StackLayout Padding="10">
        <StackLayout Orientation="Horizontal">
            <Label Text="Value:" FontSize="Medium" />
            <Slider Value="1"  Maximum="100" Minimum="1" HorizontalOptions="FillAndExpand" />
            <Entry Text="1" WidthRequest="25" FontSize="Medium"/>
        </StackLayout>
    </StackLayout>

</ContentPage>

Seen on UWP, Android appears to be fine.

Basic Information

  • Version with issue: 2.3.4, 2.3.6-nightly, 4.0.0.425677, 4.3.0.851321-pre3
  • Last known good version: Seems to be bugged from 2.0, the introduction on Xamarin Forms on UWP.
  • IDE: VS16.3.5
  • Platform Target Frameworks:
    • UWP: 17763
  • Affected Devices: Windows 10 devices

Screenshots

image

Reproduction Link

UWPDisabledButton2.zip

Guida contributor