Expand content size of text

I am trying to put a text like "Like + Comment", but the text is not ok.
How do i fit the content ?
I expect that the text was like   "Like +         jumping the line.
                                                Comment"



<radialMenu:SfRadialMenu x:Name="radialMenu" CenterButtonRadius="35"  RimColor="Transparent" RimRadius="100" CenterButtonBackgroundColor="Transparent" CenterButtonBorderColor="Transparent" CenterButtonBorderThickness="3">
            <radialMenu:SfRadialMenu.CenterButtonView>
                <Image x:Name="centerButtonImage" HeightRequest="30" WidthRequest="30"  Source="btnInstagram.png" Aspect="AspectFill" />
            </radialMenu:SfRadialMenu.CenterButtonView>
            <radialMenu:SfRadialMenu.Items>
                <radialMenu:SfRadialMenuItem Text="Comment" FontSize="14" ItemHeight="50" ItemWidth="65" TextColor="Red" FontAttributes="Bold">
                </radialMenu:SfRadialMenuItem>
                <radialMenu:SfRadialMenuItem Text="Like" FontSize="14" ItemHeight="50" ItemWidth="65" TextColor="Red" FontAttributes="Bold">
                </radialMenu:SfRadialMenuItem>
                <radialMenu:SfRadialMenuItem Text="Like + Comment" FontSize="14" ItemHeight="80" ItemWidth="70" TextColor="Red" FontAttributes="Bold">
                </radialMenu:SfRadialMenuItem>
            </radialMenu:SfRadialMenu.Items>
        </radialMenu:SfRadialMenu>

1 Reply

SK Selva Kumar  Veerakrishnan Syncfusion Team November 29, 2017 11:06 AM UTC

Hi Marcelo,

Thank you for contacting Syncfusion Support.

We can set the SfRadialMenuItem in two lines by using a label inside the RadialMenuItem.View. Please use the below given code to achieve your requirement.

<radialMenu:SfRadialMenuItem ItemHeight="50" ItemWidth="70" >
<radialMenu:SfRadialMenuItem.View>
<Label x:Name="like_Comment" Text="Like + Comment" LineBreakMode="WordWrap" FontSize="14" FontAttributes="Bold" TextColor="Red" />
</radialMenu:SfRadialMenuItem.View>
</radialMenu:SfRadialMenuItem>

Also for your convenience we have prepared a sample. Please download it from the link given below.

Sample link: http://www.syncfusion.com/downloads/support/directtrac/general/ze/RadialMenu_DemoSample_8-697467368.zip   

Please let us know if you have any concern about this.

Regards,
Selva Kumar V.

Loader.
Up arrow icon