Skip to main content


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
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
Previous Topic:[DateChooser] Custom Colors, and custom selection support patch
Next Topic:[GalleryTreeViewer] Now groups added via refresh() appear collapsed
Goto Forum:
  


Current Time: Thu Apr 25 06:28:59 GMT 2024

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

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

Back to the top