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

slider label #110

Merged
merged 1 commit into from
Sep 11, 2024
Merged

slider label #110

merged 1 commit into from
Sep 11, 2024

Conversation

andymchugh
Copy link
Owner

The slider label is set from two pathways with the first not correctly using the timezone. This has now been made consistent.

The slider label wrapping wasn't disallowed but there isn't enough vertical space to support wrapping. In addition the animation control button wasn't fully allowed for and the optional 12 hour 'AM/PM' wasn't fully allowed for. I explored not passing in width and just going for 100%. Whilst it worked the font isn't constant width so it resulted in the time slider horizontally wobbling as it was dragged around. So I've kept the fixed width but left space for 'AM/PM'.

The slider label is set from two pathways with the first not
correctly using the timezone. This has now been made consistent.

The slider label wrapping wasn't disallowed but there isn't enough
vertical space to support wrapping. In addition the animation control
button wasn't fully allowed for and the optional 12 hour 'AM/PM' wasn't
fully allowed for. I explored not passing in width and just going for
100%. Whilst it worked the font isn't constant width so it resulted in
the time slider horizontally wobbling as it was dragged around. So I've
kept the fixed width but left space for 'AM/PM'.
@andymchugh andymchugh merged commit 40a62e0 into main Sep 11, 2024
1 of 2 checks passed
@andymchugh andymchugh deleted the sliderwidth branch September 22, 2024 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant