How to disable dragging of the label of a slider?

sanjyutu shared this question 2 years ago
Answered

Is there a way to prevent the label of a slider being dragged by mouse movement?

We can fix the slider position by fixing the slider, but we can still drag the label.

We can prevent the label being dragged by disallowing the selection of the slider, but then we can't change the value of the slider any more.


I want to change the value of the slider, but don't want the label to be moved somewhere away from the slider knob.


Best regrads,

Comments (4)

photo
1

Dragging labels is disabled by default when you upload your file to geogebra.org


There's a bug with that right now though; we'll fix that soon!

photo
1

I'm glad to know that. Hope that the bug will be fixed soon.

Are you talking about the 'Enable Dragging of Labels' checkbox in Advanced Setting?


Thank you.

photo
photo
1

Hello sanjyutu!

One proposal:

You can hide the label and replace it by a textbox even with dynamic text: https://wiki.geogebra.org/en/Texts Attached a very simple example.

Kind regards

mire2

photo
1

Thank you. I will use it as a workaround until some fix is done for GeoGebra.

photo
© 2020 International GeoGebra Institute