Item spacing

Thread is closed for posting
2 posts, 1 answers
  1. Grigory Perepechko
    Grigory Perepechko avatar
    27 posts
    Member since:
    Aug 2009

    Posted 21 Nov 2012 Link to this post

    What is the recommended way to set spacing between stars ?
  2. Answer
    Todor avatar
    798 posts

    Posted 22 Nov 2012 Link to this post

    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: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 />

    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.
Back to Top