<buttons:SfButton x:Name="OrderButton" HeightRequest="50" WidthRequest="130" BackgroundColor="#f02674">
<buttons:SfButton.Content>
<StackLayout Orientation="Horizontal">
<Image Source="button_Heart.png" Margin="10,0,0,0" HeightRequest="40" WidthRequest="40" HorizontalOptions="Center" VerticalOptions="Center"/>
<Label Text="Text Wrap" LineBreakMode="WordWrap" TextColor="White" WidthRequest="{OnPlatform Android='33',iOS='40',UWP='35'}" HorizontalOptions="CenterAndExpand" HorizontalTextAlignment="Center" VerticalOptions="Center"/>
</StackLayout>
</buttons:SfButton.Content>
</buttons:SfButton>
|
<buttons:SfButton x:Name="OrderButton" WidthRequest="150" VerticalOptions="CenterAndExpand" BackgroundColor="#f02674">
<buttons:SfButton.Content>
<StackLayout Orientation="Horizontal">
<Image Source="button_Heart.png" Margin="10,0,0,0" HorizontalOptions="Center" VerticalOptions="Center"/>
<Label Text="Text Wrap will achieved using content template." LineBreakMode="WordWrap" TextColor="White" HorizontalOptions="CenterAndExpand" HorizontalTextAlignment="Start" VerticalOptions="Center"/>
</StackLayout>
</buttons:SfButton.Content>
</buttons:SfButton> |
Hi Khanh,
We are glad to hear that the issue as been resolved. Please let us know if you need any other details.
Regards,
Shivani