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
[Slider] Thumb's center doesn't align with division's center #62567
Labels
f: material design
flutter/packages/flutter/material repository.
found in release: 3.0
Found to occur in 3.0
found in release: 3.1
Found to occur in 3.1
framework
flutter/packages/flutter repository. See also f: labels.
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
team-design
Owned by Design Languages team
triaged-design
Triaged by Design Languages team
Comments
HansMuller
added
f: material design
flutter/packages/flutter/material repository.
framework
flutter/packages/flutter repository. See also f: labels.
labels
Jul 30, 2020
TahaTesser
changed the title
Problem in aligning the thumb's center to the division's center in the slider widget.
[Slider] Thumb's center doesn't align with division's center
Jul 21, 2022
This is reproducible in a new duplicate #108007 Results provided by @danagbemava-nc
|
TahaTesser
added
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
found in release: 3.0
Found to occur in 3.0
found in release: 3.1
Found to occur in 3.1
and removed
passed first triage
labels
Jul 21, 2022
32 tasks
flutter-triage-bot
bot
added
multiteam-retriage-candidate
team-design
Owned by Design Languages team
triaged-design
Triaged by Design Languages team
labels
Jul 8, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
f: material design
flutter/packages/flutter/material repository.
found in release: 3.0
Found to occur in 3.0
found in release: 3.1
Found to occur in 3.1
framework
flutter/packages/flutter repository. See also f: labels.
has reproducible steps
The issue has been confirmed reproducible and is ready to work on
team-design
Owned by Design Languages team
triaged-design
Triaged by Design Languages team
I'm trying to create a custom slider like the one below :
For that, I created 2 custom classes from SliderComponentShape and SliderTickMarkShape for the Slider's Thumb and the Slider divisions. In both the class, I was just fiddling around the paint object and radius to create the custom shape for my division and my thumb, and there is nothing fancy.
But the problem is, except the center position in the slider, the thumb doesn't get aligned to any other division's center.
I've posted this problem in the StackOverflow here and explained this very clearly with all the needed codes.
The question is: Shouldn't the thumb's center get naturally aligned to the division's center in all its positions? Or am I missing something?
The text was updated successfully, but these errors were encountered: