This is a migrated thread and some comments may be shown as answers.

Item spacing

1 Answer 56 Views
Rating
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Grigory Perepechko
Top achievements
Rank 1
Grigory Perepechko asked on 21 Nov 2012, 04:38 PM
Hi, 
What is the recommended way to set spacing between stars ?

1 Answer, 1 is accepted

Sort by
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.
Tags
Rating
Asked by
Grigory Perepechko
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or