xamarin/Xamarin.Forms

Slider Control line in the middle not visible or partially visible when the Slider is rotated between 30 deg to 80 deg

Aperta

#5750 aperta il 29 mar 2019

 (3 commenti) (0 reazioni) (0 assegnatari)C# (1926 fork)batch import
e/5 :clock5:help wantedinactivep/Androidt/bug :bug:up-for-grabs

Metriche repository

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

Descrizione

Description

Slider in an AbsoluteLayout. Slider Control line in the middle not visible or partially when the Slider is rotated between 30 deg and 80 deg

Steps to Reproduce

<AbsoluteLayout
            x:Name="AbsoluteLayoutX"
            Grid.Row="1"
            Grid.Column="0"
            BackgroundColor="Black"
            >
            <Slider
                x:Name="SliderX"
                AnchorX="0"
                AnchorY="1"
                AbsoluteLayout.LayoutBounds="0,0,177,50"
                Minimum="0.1"
                Maximum="12.1"
                Rotation="80"
                BackgroundColor="Chartreuse"
                MinimumTrackColor="Blue"
                MaximumTrackColor="Red"
            />
        </AbsoluteLayout> 

Expected Behavior

Slider Control line in the middle should be visible also when the Slider is rotated.

Actual Behavior

Slider Control line in the middle not visible or partially when the Slider is rotated between 30 deg and 80 deg

Basic Information

  • Version with issue:
  • Last known good version: -
  • IDE: VS 2017 Enterprise
  • Platform Target Frameworks:
    • iOS:
    • Android: 8.0
    • UWP:
  • Android Support Library Version:
  • Nuget Packages: Xamarin.Forms 3.6.0.264807, Xamarin.Android.Support.Design 28.0.0.1 Xamarin.Android.Support.v4 28.0.0.1 Xamarin.Android.Support.v7.AppCompat 28.0.0.1 Xamarin.Android.Support.v7.CardView 28.0.0.1 Xamarin.Android.Support.v7.MediaRouter 28.0.0.1
  • Affected Devices: LG G6

Screenshots

slider

Reproduction Link

Guida contributor