-
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current BehaviorPopup V1 had a small amount of margin/padding on the left/right: ![]() The same view in Popup V2 has a much wider margin/padding on the left/right: ![]() and I don't see a way to remove it. Expected BehaviorMargin/padding should be controlled by the view being displayed, ideally the popup would have 0. If not it should be small and/or be controllable in the options. Steps To ReproduceCompare a popup created in V1 to one in V2 with the same content Link to public reproduction project repositoryLet me know if a reproduction project is really needed. Environment- .NET MAUI CommunityToolkit:
- OS:
- .NET MAUI: Anything else?No response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
You should be able to control this with the Margin and Padding properties. Please do provide a sample so we can see what you have tried |
Beta Was this translation helpful? Give feedback.
-
You can work around this, by making the Popup Transparent and use your own Container. For it to work do this: Set That should be it. If you want to restore the look of the old Popup (like your first screenshot) you must set the popups |
Beta Was this translation helpful? Give feedback.
We ask for a repro for multiple reasons which is explained in the first few lines of the bug report you created. Anyway I can assure you that wasn't the reason for converting to a discussion because you would have been notified about that.
To set the margin on your popup it is simply: