Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Range slider thumbs are gone in .NET core 3 #3671

Closed
Azengar opened this issue Nov 3, 2019 · 3 comments
Closed

Range slider thumbs are gone in .NET core 3 #3671

Azengar opened this issue Nov 3, 2019 · 3 comments
Assignees
Labels
Milestone

Comments

@Azengar
Copy link

Azengar commented Nov 3, 2019

Bug description
When using the RangeSlider in the alpha 2.0.0-alpha0531 and .NET core 3 with the metro theme (light or dark) the slider range can be moved correctly but the thumbs won't appear making it impossible to resize it.

To Reproduce
Steps to reproduce the behavior:

  1. Create a .NET core 3 WPF application
  2. Set the theme to light blue
  3. Add a simple RangeSlider, such as:
<Controls:RangeSlider Minimum="0" Maximum="100" LowerValue="10" 
    UpperValue="30" AutoToolTipPlacement="TopLeft" 
    AutoToolTipPrecision="2" MoveWholeRange="True" 
    IsSnapToTickEnabled="True" IsMoveToPointEnabled="True" 
    ExtendedMode="True" />
  1. Thumbs at the left and right of the slider range do not appear

Expected behavior
Thumbs are supposed to appear on the left and right of the slider so that the range
can be resized.

Screenshots
range-slider

Environment

  • MahApps.Metro version 2.0.0-alpha0531
  • OS: Win10
  • Visual Studio 2019
  • .NET Core 3
@punker76 punker76 added the Bug label Nov 3, 2019
@punker76 punker76 added this to the 2.0.0 milestone Nov 3, 2019
@punker76 punker76 self-assigned this Nov 3, 2019
@punker76
Copy link
Member

punker76 commented Nov 3, 2019

@Azengar this has now been fixed, and it will be released in the next version of MahApps.Metro v2.0

@Azengar
Copy link
Author

Azengar commented Nov 3, 2019

Thanks a lot for the quick reply and fix, you rock!

@lihongfang16
Copy link

Temporary solution
<mah:RangeSlider >
mah:RangeSlider.Resources

<system:Double x:Key="HorizontalThumbWidth">10</system:Double>
<system:Double x:Key="VerticalThumbHeight">10</system:Double>

</mah:RangeSlider.Resources>
</mah:RangeSlider>

amkuchta pushed a commit to amkuchta/MahApps.Metro that referenced this issue Nov 19, 2019
The RangeSlider thumbs are gone after renaming the styles in MahApps#3552.

Closes MahApps#3671 
Relates to MahApps#3552
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants