Self resolved.
In iOS17, the widget specifications has been changed and I have to use ".contentmarginsdisabled()"
https://developer.apple.com/documentation/swiftui/widgetconfiguration/contentmarginsdisabled()
Topic:
App & System Services
SubTopic:
General
Tags: