Created
September 4, 2019 14:01
-
-
Save WildStudio/1de081a27d9582af96223cad80cd4788 to your computer and use it in GitHub Desktop.
SwiftUI adding padding to trailing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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