Hi,

In qooxdoo 0.6.6 I used to use this code for measuring the width of text:

(new qx.ui.basic.Label('My text')).getPreferredBoxWidth()

In qooxdoo 0.7, I receive very high values.  For instance for a label whose
measured real width is 170 pixels, a value of 240 is returned.   

What may be the cause of this inaccuracy?
Is this the best method of measuring width of text?

Thanx for any answer.

Regards,
David
-- 
View this message in context: 
http://www.nabble.com/Measuring-text-tf3963113.html#a11247194
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to