It is if you need a layout manager, where you want the text are to be clipped not scaled. I'd probably try making a model/view so the the view can be scaled but the view will clip the itemdelegtes.
That's how I'd do it. ----- Original Message ---- From: Bob <[email protected]> To: [email protected] Sent: Sun, February 20, 2011 7:25:14 AM Subject: [Qt-qml] Non-scaling text 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 _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml _______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
