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 _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest