[Interest] QML Text.Fit question

Harri Pasanen harri at mpaja.com
Wed Jan 28 15:48:34 CET 2015


On 28/01/2015 13:25, Curtis Mitch wrote:
> Why do you need to know the size of the text?

I work mostly in mobile space where the size, resolution and pixel 
densities vary greatly between displays.

If one wants to automate layout so that it remains usable (even if not 
"artful" in all cases), one needs to settle on a font size where all the 
text fits.   So it is convenient to be able to ask for a font size that 
fits in a given rectangle and then standardize on that.

I think it would be useful to expose that property in Text element.

Just my 2 cents,

Harri





More information about the Interest mailing list