The minimum scale factor, from
0 to 1. For example, 0.5 allows text to shrink to 50% of its original size before truncating.Support
Usage
Auto-shrinking text
Fitting a title in a fixed frame
Notes
- The system progressively reduces the font size down to
minimumScaleFactor * originalSizebefore falling back to truncation. - A value of
1(the default) means no shrinking is allowed. - Best used in combination with
.lineLimit()to constrain the text to a fixed number of lines.
See Also
- lineLimit — limits the number of displayed lines
- allowsTightening — tightens character spacing before truncating