How to style multiline Text in SwiftUI for macOS
Only need to specify
fixedSize on text to preserve ideal height.
The maximum number of lines is 1 if the value is less than 1. If the value is nil, the text uses as many lines as required. The default is nil.
If the Text is inside a row in a
fixedSize causes the row to be in middle of the
List, workaround is to use
ScrollView and vertical
Sometimes for Text to properly size itself, specify an explicit frame width