Skip to main content


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 #50543] Thu, 06 March 2008 15:29 Go to next message
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
Re: Grid Contribution: Word-wrapping row and column header text and autosizing row height [message #50570 is a reply to message #50543] Thu, 06 March 2008 16:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: zx.us.ibm.com

> 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.

Please do! File a bug with a patch and I'm sure the Nebula team would be
happy to look at your contribution. Personally, I'd love to see these
issues fixed!

Cheers,

~ Chris
Re: Grid Contribution: Word-wrapping row and column header text and autosizing row height [message #50598 is a reply to message #50543] Wed, 12 March 2008 13:05 Go to previous message
Chuck Mastrandrea is currently offline Chuck MastrandreaFriend
Messages: 14
Registered: July 2009
Junior Member
As an FYI, I have filed 222280
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=222280) with this
contribution.


"Chuck Mastrandrea" <Chuck.Mastrandrea@sas.com> wrote in message
news:fqp2ka$p14$1@build.eclipse.org...
> 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
>
>
Re: Grid Contribution: Word-wrapping row and column header text and autosizing row height [message #588965 is a reply to message #50543] Thu, 06 March 2008 16:08 Go to previous message
Chris Aniszczyk is currently offline Chris AniszczykFriend
Messages: 674
Registered: July 2009
Senior Member
> 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.

Please do! File a bug with a patch and I'm sure the Nebula team would be
happy to look at your contribution. Personally, I'd love to see these
issues fixed!

Cheers,

~ Chris
Re: Grid Contribution: Word-wrapping row and column header text and autosizing row height [message #588970 is a reply to message #50543] Wed, 12 March 2008 13:05 Go to previous message
Chuck Mastrandrea is currently offline Chuck MastrandreaFriend
Messages: 14
Registered: July 2009
Junior Member
As an FYI, I have filed 222280
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=222280) with this
contribution.


"Chuck Mastrandrea" <Chuck.Mastrandrea@sas.com> wrote in message
news:fqp2ka$p14$1@build.eclipse.org...
> 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:Grid Contribution: Word-wrapping row and column header text and autosizing row height
Next Topic:Hacking on Nebula components at EclipseCon
Goto Forum:
  


Current Time: Fri Apr 26 07:43:31 GMT 2024

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

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

Back to the top