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

Open

#5,750 opened on Mar 29, 2019

 (3 comments) (0 reactions) (0 assignees)C# (1,926 forks)batch import
e/5 :clock5:help wantedinactivep/Androidt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

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

Contributor guide