Open CliffAgius opened 1 week ago
I tested it with the layout below. It's a very simple layout.
<mkt:Popup xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:mkt="clr-namespace:CommunityToolkit.Maui.Views;assembly=CommunityToolkit.Maui"
x:Class="CommunityToolkitTest.Popups.TestPopup">
<VerticalStackLayout Padding="5,5,5,20">
<Label FontSize="20" TextColor="Black" Text="This is test." />
<Button FontSize="20" TextColor="White" BackgroundColor="Blue" Text="Start" />
</VerticalStackLayout>
</mkt:Popup>
[iOS]
[Android]
In this case, the Padding appears to be working as intended.
Converting to an Issue as this looks like a Bug rather than a Discussion.
Discussed in https://github.com/CommunityToolkit/Maui/discussions/2156