Hi,
What is the recommended way to set spacing between stars ?
1 Answer, 1 is accepted
0
Accepted
Todor
Telerik team
answered on 22 Nov 2012, 08:39 AM
Hi Grigory,
Thank you for your interest in RadRating.
This control provides different customization mechanisms, explained in our online documentation. This options include changing the styles, the shapes, etc. If you don't want to edit the shapes, the easiest way to change the spacing is to set appropriate margins to all RadRatingItem-s that you would like to have. For example if you want to keep the number of the items limited to 5 and have 12 pixels between the stars here's what you can do:
<telerikInput:RadRating>
<telerikInput:RadRatingItem Margin="0,0,12,0"/>
<telerikInput:RadRatingItem Margin="0,0,12,0"/>
<telerikInput:RadRatingItem Margin="0,0,12,0" />
<telerikInput:RadRatingItem Margin="0,0,12,0" />
<telerikInput:RadRatingItem />
</telerikInput:RadRating>
Let me know if you need additional assistance.
Regards,
Todor
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.