| Summary: | Column of GridCellRenderer not set in Grid.onPaint(PaintEvent) | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Thomas Halm <thha> | ||||||||
| Component: | Nebula | Assignee: | Thomas Schindl <tom.schindl> | ||||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||||
| Severity: | major | ||||||||||
| Priority: | P3 | CC: | tom.schindl | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
|
Description
Thomas Halm
If you attach a patch I can apply it ASAP Created attachment 170809 [details]
Proposed patch for org.eclipse.nebula.widgets.grid.Grid
Created attachment 170948 [details]
Proposed patch with new fixes
I found two more calls to getCellRenderer() where the column index was not propagated.
Changes in:
Grid.onPaint() -> old
Grid.computeItemHeight() -> new
GridColumn.pack() -> new
Looks good, one minor thing - I think we should store the content of indexOf(column) call in an local variable Created attachment 170951 [details]
Proposed patch with new fixes
Ok, there was already a local variable with the index of the column. I replaced the method calls in the new patch.
Applied patch with attribution to CVS-HEAD |