Make the leading and trailing edges of the view fit within the view SwiftUI 5.1 Posted by Gerard Grundy Date January 28, 2020 Comments 0 comment If your textview isn’t fitting in the view how you think it should try this code out. It allows you to customise the padding to your view. .padding(EdgeInsets(top: 0, leading: 10, bottom: 0, trailing: 10)) Related Tag:Learn Swift Programming|Swift Programming|Swift Tutorials, swift5.1, Swiftui Share: Gerard Grundy Previous post Make a Text view have two lines SwiftUI 5.1 January 28, 2020 Next post Hide back button in NavigationView SwiftUI 5.1 January 29, 2020 You may also like Argument passed to call that takes no arguments SwiftUI 5.1 February 15, 2020 Custom Text is being cut off at the top SwiftUI 5.1 February 10, 2020 Comparison Operator Swift 5.1 Challenge January 31, 2020