Re: [qooxdoo-devel] Measuring text width

2007-10-02 Thread Sebastian Werner
It depends on the styles you use. Earlier version have supported the full range of available CSS font properties but this was quite slow. Nowadays we only support the five basic properties which is enough in most cases. If your style is not supported right now you can always but a span arou

[qooxdoo-devel] Measuring text width

2007-10-01 Thread dperez
Hi, I've observed that this method of measuring text width isn't as accurate as before. (new qx.ui.basic.Label('some text')).getPreferredBoxWidth() I've checked that gives a value of about 71 pixels when the text measures 49 pixels. I've used the Measurit extension from Firefox to measure real