Since the header of a List can't be customised as much as I'd like it to be, I've used a workaround with a ScrollView and a LazyVStack.
However, I can't seem to get the separators right or the amount of padding as well the the default separator insets.
I am making the separators with Divider() but even with dynamic type the views becomes 'broken'.
Is there a way to recreate a List with the standard appearance without using one?
Help is much appreciated.
Code Block Swift ScrollView { LazyVStack(pinnedViews: .sectionHeaders) { ForEach(...) } }
However, I can't seem to get the separators right or the amount of padding as well the the default separator insets.
I am making the separators with Divider() but even with dynamic type the views becomes 'broken'.
Is there a way to recreate a List with the standard appearance without using one?
Help is much appreciated.