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

DoubleSliderControl jumping + Label visibility #457

Open
JakobTernes opened this issue Mar 2, 2024 · 0 comments
Open

DoubleSliderControl jumping + Label visibility #457

JakobTernes opened this issue Mar 2, 2024 · 0 comments

Comments

@JakobTernes
Copy link

When adding a Setting using a DoubleSliderControl like

this.preferencesFx = PreferencesFx.of(Test.class, Category.of( "Title", Setting.of( "Test2", new SimpleDoubleProperty(), 1, 100, 10 ) ) );

the slider jumps alot when sliding it to the end, since the label changes a lot in size very quickly.
This makes it practically impossible to properly set the value at the end of the slider.
For my purpose, I do not want a label anyways, since the value itself provides little use to the user (its a scroll sensitivity setting).
Is there a way to hide the label?
Since others might want to keep the label, a solution to avoid the jumping might be useful to them.

Demo:
image
image

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

No branches or pull requests

1 participant