Skip to content

Intelligent button placement #45

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

Closed

Conversation

TomNicholas
Copy link
Contributor

Attempts to fix #32 by automatically choosing the length of the slider based on the length of the slider label and value text.

There's a unit test which interrogates the figure and checks that the right side of the slider and text are not to the right hand side of the left side of the button.

The result should look something like this:

line1

(This change seems to pass the image comparison tests on my machine even though the slider should be a slightly different size which is odd?)

@TomNicholas
Copy link
Contributor Author

(closed because I messed up the git history and it was easier to make a new branch and cherry-pick the right commits, see #46 instead)

@TomNicholas TomNicholas deleted the intelligent_button_placement branch April 29, 2019 15:32
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.

Move play/pause button
1 participant