the rating bar described in the this article is quite intricate. How to create
such widget in a simpler way? In this article, we will consider a more elegant
implementation of the rating bar with its pros and cons.
well-known bundle Guide->Scale->Slider.
to the Slider, let it be a Rectangle.
Also add a
Set slider step
to 5 to make it possible to set value more than 4, but not 4.0372.
value to the slider value.
here is the main trick of the article:
This is a
semi-transparent picture with the cut-outs in the form of stars.
We will add
it over the widget with the help of the Picture element.
To make this
Picture element be ignored by the mouse pointer, you need to set its Active
property to false.
all! Export the widget to JSON.
Download sample here: AdvancedStarsDemoPage.zip