Thank you for the reply Travis. I know the view debugger, but I didn't see anything interesting there. A screenshot is below. However, your mention of Typography was a good hint. I actually had an accessibility font active on my iPhone device, but forgot about that. Note that this sample app is extracted from a bigger app, where we run into this issue where there's no dynamic type support. I also confirmed that changing the accessibility font size doesn't change the bug or font in the main app. With my sample I confirmed this happens with the default font / Font.body and DynamicTypeSize.medium. With that I can now also reproduce the issue in the iPhone simulator. struct ContentView: View { var body: some View { Text(txt) .dynamicTypeSize(.medium) .fixedSize(horizontal: false, vertical: true) .padding(.horizontal, 20) .frame(maxHeight: .infinity) } } View Debugger iPhone device screenshot View Debugger iPhone sim screenshot
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: