- Home
- Forum
- Xamarin.Forms
- Center SfRating control in footer view
Center SfRating control in footer view
I'd like to center an SfPicker control of the custom footer of an dialog mode SfPicker, but with the following XAML it's stll left-aligned. I've tried using different containers with no luck
<sfPicker:SfPicker x:Name="MyPicker" HeaderText="Picker with stars" ShowHeader="True" ShowFooter="True" PickerMode="Dialog" PickerWidth="250" ItemsSource="{Binding Items}" SelectedItem="{Binding SelectedItem}"> <sfPicker:SfPicker.FooterView> <sfRating:SfRating x:Name="MyRating" Value="{Binding SelectedRating}" ItemCount="5" ItemSize="30" HorizontalOptions="Center"/> sfPicker:SfPicker.FooterView>
sfPicker:SfPicker> >
SIGN IN To post a reply.
3 Replies
VA
Vinnalan Aravazhi
Syncfusion Team
February 28, 2018 10:13 AM UTC
Hi Burton,
Thanks for contacting Syncfusion support.
We have checked your requirement "Center align SfRating control in SfPicker footer view at Dialog mode" from our side and we have modified the code to achieve the requirement. In this modified sample we Placed SfRating inside a grid. Please find the sample from below link.
Sample: http://www.syncfusion.com/downloads/support/forum/136148/ze/PickerSample1433332495
Thanks for contacting Syncfusion support.
We have checked your requirement "Center align SfRating control in SfPicker footer view at Dialog mode" from our side and we have modified the code to achieve the requirement. In this modified sample we Placed SfRating inside a grid. Please find the sample from below link.
Sample: http://www.syncfusion.com/downloads/support/forum/136148/ze/PickerSample1433332495
Please let us know if you have any other queries.
Regards,
Vinnalan K A.
BU
Burton
February 28, 2018 08:19 PM UTC
I've tried putting the SfRating inside a grid, but it just shows 3 stars for me. Here's a screenshot with the SfRating in a grid:
https://imgur.com/a/1DnzR
Hope this helps
https://imgur.com/a/1DnzR
Hope this helps
MS
Mugundhan Saravanan
Syncfusion Team
March 1, 2018 12:11 PM UTC
Hi Burton,
Thanks for the update.
We have checked the reported issue "SfRating is not properly fitted in Sfpicker" from our side and we were unable to reproduce the reported issue from our side and we have attached the recorded video, which we have checked the reported issue from our side. please find the recorded video from the below link.
Video: http://www.syncfusion.com/downloads/support/directtrac/general/ze/Testing_Video1673360515
Thanks for the update.
We have checked the reported issue "SfRating is not properly fitted in Sfpicker" from our side and we were unable to reproduce the reported issue from our side and we have attached the recorded video, which we have checked the reported issue from our side. please find the recorded video from the below link.
Video: http://www.syncfusion.com/downloads/support/directtrac/general/ze/Testing_Video1673360515
So, could you please provide below mentioned details,
1)Modified sample which replicates the reported issue.
2)Which Android version and device model reported issue gets occur.
It will help us to provide appropriate solution on this.
Regards,
Mugundhan S.
SIGN IN To post a reply.
- 3 Replies
- 3 Participants
-
BU Burton
- Feb 27, 2018 09:34 PM UTC
- Mar 1, 2018 12:11 PM UTC