Hi Harri, You should be able to use to the 'paintedSizeChanged' signal to know when the size of the text changes.
Cheers, Yann On 25/01/2012, at 7:15 PM, ext Harri Pasanen wrote: > Hi, > > There doesn't seem to be any signal to indicate > when these are ready. > > Looks like they are not computed immediately at "text" > assignment time, which is logical given that there may > be image urls etc. in the text. > > But how could I get paintedWidth and paintedHeight > prior to showing the QML element? > > /Harri > > > > _______________________________________________ > Qt-qml mailing list > Qt-qml@qt.nokia.com > http://lists.qt.nokia.com/mailman/listinfo/qt-qml _______________________________________________ Qt-qml mailing list Qt-qml@qt.nokia.com http://lists.qt.nokia.com/mailman/listinfo/qt-qml