Saturday, July 3, 2021

SwiftUI padding with insets

Text("Hello, World!").padding(EdgeInsets(top: 500, leading: 0, bottom: 0, trailing: 0))

 references:

https://medium.com/@alexperse/swiftui-padding-with-edgeinsets-example-8febcb9cd6f8

No comments:

Post a Comment