Is there any support for the Material Slider concept of floating value label.
f
Felix Schütz
08/31/2021, 7:16 PM
You can easily implement it yourself
m
mkrussel
08/31/2021, 7:19 PM
Is there a way to get the x position of the thumb to draw the text relative to it?
s
Sergey Y.
08/31/2021, 7:44 PM
See Modifier.onGloballyPositioned
m
mkrussel
08/31/2021, 7:47 PM
That would get me the position of the slider, but not the thumb, there no where to add a modifier for the thumb.
I think I would have to take the value, calculate the percentage and then calculate the x.