Skip to content

DoubleSliderControl jumping + Label visibility #457

@JakobTernes

Description

@JakobTernes

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions