Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Grid Contribution: Word-wrapping row and column header text and autosizing row height
Grid Contribution: Word-wrapping row and column header text and autosizing row height [message #588948] Thu, 06 March 2008 15:29
Chuck Mastrandrea is currently offline Chuck MastrandreaFriend
Messages: 14
Registered: July 2009
Junior Member
Chris,

I'm finishing up some modifications to the Grid that we would like, and I
think it would benefit everyone if these changes could be rolled into your
codebase. There are several features included because they are all
inter-related:

* Word-wrap column header text in DefaultColumnHeaderRenderer based on the
existing wordWrap property of GridColumn
* Word-wrap row header text in DefaultRowHeaderRenderer based on a new
wordWrapRowHeader property of Grid
* A new autoHeight property in Grid that when enabled resizes a row height
if one or more cells in that row have word-wrapped text that is clipped.
That is, the row height adjusts to accomodate the tallest text on that row.
* A new autoWidth property in Grid that controls the already supported
feature of making row headers as wide as necessary to show the longest text.
This feature is then disabled if word-wrapping of row header text is
enabled.
* A new method in Grid that allows you to programmatically set the width of
all row headers. Needed for row header word-wrapping feature.

It looks like these features address several other Grid bugs (214922 and
216780). Please let me know your thoughts on these features and if you'd
like me to submit a bug request along with a patch.

Thanks,
Chuck
Previous Topic:Examples crashing... what am I doing wrong... (if it is indeed me)
Next Topic:Grid Contribution: Word-wrapping row and column header text and autosizing row height
Goto Forum:
  


Current Time: Fri Dec 19 18:20:56 GMT 2014

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

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