Grid Contribution: Word-wrapping row and column header text and autosizing row height [message #50543] |
Thu, 06 March 2008 10:29  |
Eclipse User |
|
|
|
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 #50598 is a reply to message #50543] |
Wed, 12 March 2008 09:05  |
Eclipse User |
|
|
|
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 #588970 is a reply to message #50543] |
Wed, 12 March 2008 09:05  |
Eclipse User |
|
|
|
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
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.07094 seconds