[Qt-qml] Non-scaling text

Bob bobtheprog at gmail.com
Sun Feb 20 13:25:14 CET 2011


I want to use QML to add items to the cells of a table. The table has
resizeable rows (and columns) of data and the user can add custom
annotations to the data. Conceptually, the user's script is something
like this: if (heart_rate > 150) then { shape:big_red_blob;
text:"Whoops!" }

With QML and QtScript and a bit of JavaScript this almost works well.
But everything scales when the user resizes rows and columns,which is
correct for the shapes but makes the text look silly.

How can I implement QML text that does not scale, mixed with
'everything else' that does scale?

Bob


More information about the Qt-qml mailing list