Imagine a Stepper with a left label (from troz.net):
Stepper(value: $stepperValue, in: 0...20) {
Text("Value in child = \(stepperValue)")
.font(.headline)
.fontWeight(.medium)
.multilineTextAlignment(.leading)
//.minimumScaleFactor(0.50)
}
The label could change or be a different language. What I tried (unsuccessfully) to do in the last line is have the label fit as large a rect as the Stepper could allow. but when I uncomment the minimumScaleFactor line, the text shrinks immediately to that size.
How can I get the labe lto scale so the full horizonal space (with readable padding) is consumed?