Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit 6f9832c

Browse files
fexxdevpictosjfversluis
authored
Remove iOS default padding (#1653) (#1668)
Co-authored-by: Pedro Jesus <[email protected]> Co-authored-by: Gerald Versluis <[email protected]>
1 parent 05e54fb commit 6f9832c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CommunityToolkit/Xamarin.CommunityToolkit/Views/Popup/iOS/PopupRenderer.ios.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ void CreateControl()
123123
_ = Element ?? throw new InvalidOperationException($"{nameof(Element)} cannot be null");
124124

125125
var view = Element.Content;
126-
var contentPage = new ContentPage { Content = view, Padding = new Thickness(25) };
126+
var contentPage = new ContentPage { Content = view };
127127

128128
Control = Platform.CreateRenderer(contentPage);
129129
Platform.SetRenderer(contentPage, Control);

0 commit comments

Comments
 (0)