I am looking for a way to remove insets (and ideally row separators) in SwiftUI's Table
.
List
s have:
.listRowInsets(.init(top: 0, leading: 0, bottom: 0, trailing: 0))
and
.listRowSeparator(.hidden)
respectively.
Neither Table
's @TableRowBuilder
, @TableColumnBuilder
or the Table
itself appear to have any modifiers for inset manipulation?
You need to put the modifiers on the List item - below example with commented out lines to compare. You could extract the List items into a passed in View to make this simpler