BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Whilst SfRating control works as advertised, I am having problems trying to adjust its width / height.
My actual requirement is to make it smaller - 80 pixels however even creating a copy of the template and setting the width on PART_Host border didn't work (threw runtime exception).
Any pointers will be appreciated
Hermit
Update: The copy of template had Margin defined without , e.g. Margin="0 0 0 33" this was the cause of the runtime error. correcting that, the rating control just appears cropped now resized
Hi Hermit,
We have created a sample to achieve your requirement of resizing RatingItem. Please find the sample from the following location,
In the above sample we have defined two keys RatingItemWidth and RatingItemHeight to modify the width and height of RatingItems and this keys has been referred in edited style.
Please let us know if you have any queries.
Regards,
Mageshyadav.M