Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » [Grid] DefaultCellRenderer and wordwrap
[Grid] DefaultCellRenderer and wordwrap [message #592339] Thu, 25 September 2008 16:13
Gregory Dyke is currently offline Gregory DykeFriend
Messages: 8
Registered: July 2009
Junior Member

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



Previous Topic:[DateChooser] Custom Colors, and custom selection support patch
Next Topic:[GalleryTreeViewer] Now groups added via refresh() appear collapsed
Goto Forum:

Current Time: Sat Apr 21 07:56:13 GMT 2018

Powered by FUDForum. Page generated in 0.01908 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software