Skip to content

Instantly share code, notes, and snippets.

@WildStudio
Created September 4, 2019 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WildStudio/1de081a27d9582af96223cad80cd4788 to your computer and use it in GitHub Desktop.
Save WildStudio/1de081a27d9582af96223cad80cd4788 to your computer and use it in GitHub Desktop.
SwiftUI adding padding to trailing
truct ContentView: View {
var body: some View {
HStack {
Text("SwiftUI")
.padding(.trailing)
Text("Basics")
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment