Answers for "add padding in stacj view swift"

2

SwiftUI padding

Text("Example")

	// overall padding
    .padding(20)

	// left padding
	.padding(.leading, 20)

	// right padding
	.padding(.trailing, 20)
    
    // top padding
    .padding(.top, 20)
    
    // bottom padding
    .padding(.bottom, 20)
Posted by: Guest on April-13-2020

Code answers related to "Swift"

Browse Popular Code Answers by Language