Hello Everybody, AFAIK the width and height of a qml Text element is set dependant of the text. This works if I set the text property to a new value.
The problem is that if setting the text property to "" after setting it to another value the width stays the same as before. It doesn't change to "0". Only if I set a new text that is not empty it will recalculate the width. Did anybody else see this? I'm using Qt 4.7.1. Do you guys think this is intended behaviour? Regards, Tobias Tobias Renz Phone: +49 7121 86 1121 R&D Software Engineer Fax: +49 7121 86 2525 Mühleweg 5 E-mail: [email protected]<mailto:[email protected]> 72800 Eningen u.A. / Germany World Wide Web: http://www.jdsu.com<http://www.jdsu.com/> Intranet: http://www.eni.eu.acterna.net/~ren47001 [cid:114303315@21032011-2B31] JDSU Deutschland GmbH Sitz: 72800 Eningen u.A. Registergericht Stuttgart, HRB 353758 WEEE-Reg.-Nr.: DE 53620669 Geschäftsführung: Rolf Trieflinger
<<inline: image002.jpg>>
_______________________________________________ Qt-qml mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-qml
