Hi I would like to have a button with a busy indicator where the text is centered
I have tried few things but I cannot get the text centered when the busyindicator is not visible.
<buttons:SfButton HeightRequest="40" CornerRadius="20" HorizontalOptions="Center" VerticalOptions="Center" Margin="90">
<buttons:SfButton.Content>
<StackLayout Orientation="Horizontal">
<xForms:SfBusyIndicator AnimationType="SingleCircle"
IsBusy="{Binding IsBusy}"
TextColor="White"
WidthRequest="50" />
<Label Text="Save" FontSize="20"
HorizontalTextAlignment="Center"
VerticalTextAlignment="Center"
TextColor="White" />
</StackLayout>
</buttons:SfButton.Content>
</buttons:SfButton>
Am i missing something basic here?
thanks