I have found a way of measuring text length, and I entered in the Qooxdoo FAQ. I use it successfully specially for measuring column widths.
Derrell.Lipman wrote: > > Certainly. The length of the cell data, however, can way exceed the > available > space on the screen, so resizing the column doesn't solve the problem. > > I dealt with it by determining the longest string being placed in that > column > prior to each setData() call, and issuing a setColumnWidth(1, maxLen * 7). > The 7 was determined empirically to be "a bit more than big enough". I > wonder > if there's a function for getting the average width of a character in the > font > being used, or, better yet, a function to determine the rendered length of > a > string? > -- View this message in context: http://www.nabble.com/Table%3A-displaying-cell-data-which-exceeds-cell-width-tf2456326.html#a6870773 Sent from the qooxdoo-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
