[Grid] DefaultCellRenderer and wordwrap [message #592339] |
Thu, 25 September 2008 16:13 |
Gregory Dyke Messages: 8 Registered: July 2009 |
Junior Member |
|
|
Hi
I'd like to use Grid/GridViewer to create a table with variable line
heights, with the lines' heights adjusting to show the whole contents of
the line.
When using
gridviewer.setAutoPreferredHeight(true) combined with
column.setWordWrap(true) for each column
I end up with each row being very much too high. I'm using the smallfonts
option running from macosx. Is this a bug? I've looked at the source code:
why doesn't it just call getBounds on the TextLayout object used for
computing row height?
Also, the line height doesn't automatically increase when I make a column
narrower.
Help?
Regards
Greg
|
|
|
Powered by
FUDForum. Page generated in 0.03114 seconds