Once you discover undocumented features of the slider component - it becomes a very powerful component to use indeed.
Besides being either vertical or horizontal (badly documented - see my post
it is more than only a tool for input of the moving sliding action as per tutorials.
I am using it's yet another undocumented feature - as a vertical or horizontal bar gauge.
I assign value of slider.val from MCU and slider's pointer moves to depict visually the amount of numerical input. In such application the touch events of the slider are disabled with "tsw" command.
This gauge is much better than a "progress bar" which is currently used in tutorials for this application.
1. visuals are as good as your background cropped image for it and pointer as good as you provide image for it (and there is no "pointer" in "progress bar" component). As I experimented with both making "bar" gauge - in all examples Slider was a visual winner.
2.Speed of changing is faster than "progress bar" as there is no repainting of the pixels of whole bar background.
My advice: This feature - Using slider as a vertical/horizontal bar gauge - must be described in man pages and also in tutorials
very poor documentation and examples for this nice display..
Great! It works fine and Sliders have good graphic options.
But be careful, if you need both (manual movement and assignment), touch events are not supportet if you assign a value.
That could be a problem, if you use the Touch move Event for manual movements.