Hello,
Welcome to our Microsoft Q&A platform!
You can change Padding="30,0,30,0"
to Margin="30,0,30,0"
for the Label
that contains long text. And I change Margin="30,24,30,0"
for the url's label.
<StackLayout>
<Frame BackgroundColor="#2196F3" Padding="24" CornerRadius="0">
<Label Text="Welcome to Xamarin.Forms!" HorizontalTextAlignment="Center" TextColor="White" FontSize="36"/>
</Frame>
<Label Text="Start developing now" FontSize="Title" Padding="30,10,30,10"/>
<Label Text="Make changes to your XAML file and save to see your UI update in the running app with XAML Hot Reload. Give it a try! Maurice Maeterlinck was born in Ghent, Belgium, August 29, 1862. Although trained for the practice of the law and moderately successful in it, he very early became dissatisfied with the prospect of a career at the bar."
FontSize="16"
Margin="30,0,30,0"/>
<Label FontSize="16" Margin="30,24,30,0">
<Label.FormattedText>
<FormattedString>
<FormattedString.Spans>
<Span Text="Learn more at "/>
<Span Text="https://aka.ms/xamarin-quickstart" FontAttributes="Bold"/>
</FormattedString.Spans>
</FormattedString>
</Label.FormattedText>
</Label>
</StackLayout>
Here is running screenshot.
If you want to know more details about padding and margin, here is an article about it.
https://learn.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/layouts/margin-and-padding
Best Regards,
Leon Lu
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.