UnRatedStroke appears cropped

Using Xamarin.Forms 3.2 and Syncfusion dlls v16.3451.0.29 when using the Rating contronl if you set the UnratedStroke it looks like the edges are cropped, these are the settings I am using 
 sfRating.RatingSettings =
                new SfRatingSettings { RatedFill = Colors.RatedStarColor, RatedStroke = Color.Transparent, UnRatedFill = Color.White, UnRatedStroke = Colors.RatedStarColor };

and this is the XAML 

 <rating:SfRating x:Name="sfRating" ValueChanged="Handle_RatingValueChanged"
                                     StyleId="cand_timesheets_employeeFeedback_rating" Value="{Binding Rating}"
                                     Precision="Standard" ReadOnly="false"
                                     ItemSize="25" ItemCount="5" HorizontalOptions="Center" VerticalOptions="Center"
                                     WidthRequest="150" HeightRequest="30"
                                     />

Is this an issue because the version is too old or it is something regarding the design settings? thanks in advantage

Attachment: syncfusionsample.png_e443205c.zip

3 Replies

SP Sakthivel Palaniyappan Syncfusion Team March 10, 2020 12:02 PM UTC

Hi Alexander,

Greetings from Syncfusion.

We have analyzed your query and checked the reported issue with syncfusion NuGet 16.30.36 version. But we are unable to reproduce the reported issue. We suggest to update Syncfusion NuGet to latest version and check the issue or else check with UnRatedStrokeWidth property of  SfRatingSettings as like below code snippet.

Code snippet C#:
 
sfRating.RatingSettings = new SfRatingSettings {
                              RatedFill = Color.Red,
                              RatedStroke = Color.Transparent,
 
                              UnRatedFill = Color.White,  
                              UnRatedStroke = Color.Blue,  
                              UnRatedStrokeWidth = 1 }; 

Please let us know if the issue resolved or not with the solution.

Regards,
Sakthivel P.
 



AL Alexander March 10, 2020 04:19 PM UTC

Hi Sakthivel,

Yes, I was able to fix it by reducing the stroke.
We are using the dlls and not the NuGet, maybe that could be the difference, but thanks for your response.


SP Sakthivel Palaniyappan Syncfusion Team March 11, 2020 07:04 AM UTC

Hi Alexander,

Thanks for your update.

We are glad to know that issue has been resolved.

Please let us know if you require further assistance on this.

Regards,
Sakthivel P.



Loader.
Up arrow icon