RedditPP Mascot

RedditPP

r/swift • … • u/MamaessenKP

SwiftUI - How do I reduce the trailing padding of a row in an List

I started to experiment a little with SwiftUI and I run into a problem asap.

I have a List of Row Elements, each Row has a date, a ScrollView with some Images and a SegmentedControl.

I want my ScrollView to scale to the right edge of the Screen, but it has some kind of padding provided by the List.

Some googeling find me the following, but I cant find any way to use this in SwiftUIs List: cell.layoutMargins = UIEdgeInsetsZero;

![img](tvv89xch8ec31)

— 0