1. Home
  2. extra padding

Why SwiftUI Image add an extra padding to enclosing VStack

$ 12.50

4.9 (561) In stock

I'm struggling with a very simple problem. If I put a Text into a VStack, there is no padding on the top. If I now put an Image, I have a padding. See the following screenshot: The corresponding c

swift - UIGraphicsImageRenderer generates a strange top padding on iOS 15, working fine on iOS 14.x - Stack Overflow

SwiftUI Cookbook

swiftui - Unintentional padding for some items in VStack - Stack Overflow

SwiftUI Tutorial: Working With Stacks — VStack, HStack, and ZStack, by Arc Sosangyo

swiftui - Unexpected empty space before and after ScrollView - Stack Overflow

part 6 of the

SwiftUI: Resize spacers in VStack on smaller devices in a certain way - Stack Overflow

How to Make a Button with SwiftUI - DEV Community

Making SwiftUI Previews Work For You

CustomPresentationDetent Protocol Implementation in SwiftUI for Modal Presentations - DEV Community

ios - Where is the extra padding coming from in my VStack? - Stack Overflow