0

Ever since updating to iOS 14, I get additional padding (in red) in my List that I didn't see on iOS 13:

enter image description here

Is this a known issue of iOS 14 ? How can I fix this ?

var body: some View {
        NavigationView {
            VStack(alignment: .leading){
                List {
                   // Content goes here
                   // Mostly text and buttons
                }
            }.navigationBarTitle(Text("settings.title"), displayMode: .inline)
       }
}
marcgg
  • 65,020
  • 52
  • 178
  • 231
  • Are you looking for the listStyle property? https://developer.apple.com/documentation/swiftui/liststyle – Teetz Oct 02 '20 at 08:24
  • @pawello2222 Yes it does! Thanks a lot, I didn't find the question when looking. – marcgg Oct 02 '20 at 09:10

0 Answers0