Hello,
I would like to adjust the width of a TextField so that no space is
wasted, but I am having trouble to figure out the actual width
required by the TextField's contents.
I found a solution for Qooxdoo 0.6 in the FAQ, namely:
var neededWidth = new qx.ui.basic.Label('myText').getPreferredBoxWidth()
However, that does not work with 1.0.1 anymore.
Is there a way to calculate the dimensions of a given text & font?
Thanks,
Joachim
--
B.1079 Michael Smith Building
Faculty of Life Sciences
The University of Manchester
Oxford Road
Manchester
M13 9PT
United Kingdom
------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel