Summary: | SWT.MeasureItem event handler doesn't affect initial empty table | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Feng Dihai <fengdh> | ||||
Component: | SWT | Assignee: | Steve Northover <steve_northover> | ||||
Status: | RESOLVED DUPLICATE | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.2 | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Feng Dihai
2006-04-03 02:18:22 EDT
Created attachment 37490 [details]
SWT.MeasureItem event handler doesn't affect initial empty table
Since an empty table has no items, we can't send SWT.MeasureItem. If we make setItemHeight() API, then you will be able to use it to set the item height you want. Have you considered setting the lines not visible when the table is empty? *** This bug has been marked as a duplicate of bug 148039 *** Up to now we can only change table's item height via SWT.MeasureItem listener. But an empty table can also paint its grid lines when setLinesVisible(true) being called. We want to control table's behavior whatever empty or not in the same way. In a RCP application, it's better not to suprise your users. |