Problem with the width of Horizontal sfListView Group Header Template

As the sample Provided in this Sample I'm trying to make the List view Horizontal  and take the Group Header Template label rotation into 270, the template code as bellow 
            <syncfusion:SfListView.GroupHeaderTemplate>
                <DataTemplate>
                    <ViewCell>
                        <ViewCell.View>
                            <Grid BackgroundColor="#808080">
                                <Label Text="{Binding Key}"
                                      FontSize="15"
                                      TextColor="White" 
                                      HorizontalTextAlignment="Center" 
                                      VerticalTextAlignment="Center" 
                                      Rotation="270"
                                       HorizontalOptions="CenterAndExpand" 
                                      LineBreakMode="NoWrap" 
                                      VerticalOptions="CenterAndExpand" />
                            </Grid>
                        </ViewCell.View>
                    </ViewCell>
                </DataTemplate>
            </syncfusion:SfListView.GroupHeaderTemplate> 

but the result is not lining up correctly as required, group header text is breaking, I tried, in this sample as well as my original project also, the result is same, please can you give me some guidance for this problem, 



1 Reply

MK Muthu Kumaran Gnanavinayagam Syncfusion Team December 9, 2017 11:14 AM UTC

Hi Dilan, 
 
We have checked the reported query “Label Text clips after using Rotation” from our side. We have found that even after rotating, the Label maintains its actual size and thus the Text gets clipped based on the size of the GroupHeader item. So you can use SfListView’s AutoFitMode to set the size of the GroupHeader items based on the Label’s text. But after rotating to a particular degree the GroupHeader item size does not fit automatically and uses its actual measure size. We regret to let you this was a framework issue and have already logged the bug report to Bugzilla team regarding this. You can follow the same for further details. 
 
 
Please let us know if you require further assistance. 
 
Regards, 
G.Muthu Kumaran. 


Loader.
Up arrow icon