Closed Omsad closed 10 months ago
Describe the bug The slider thumb is positioned incorrectly e.g. not centred upon the ticks due to the margin of 2 on the left and right, see:
When declared as:
<Slider Value="0" TickFrequency="10" TickPlacement="TopLeft" /> <Slider Value="10" TickFrequency="10" TickPlacement="TopLeft" /> <Slider Value="20" TickFrequency="10" TickPlacement="TopLeft" /> <Slider Value="50" TickFrequency="10" TickPlacement="TopLeft" />
If you instead move the margin to the horizontal template, there is no clipping and the ticks now align with the thumb, see:
Desktop/Platform:
Additional context I have not tested this on anything other than windows, nor on a vertical slider.
The axaml changed:
Describe the bug The slider thumb is positioned incorrectly e.g. not centred upon the ticks due to the margin of 2 on the left and right, see:
When declared as:
If you instead move the margin to the horizontal template, there is no clipping and the ticks now align with the thumb, see:
Desktop/Platform:
Additional context I have not tested this on anything other than windows, nor on a vertical slider.
The axaml changed: