| Summary: | Mouseover highlighting of List's in ExpandItem's fails with new list model | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Sascha Becher <s.becher> | ||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED WORKSFORME | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P3 | ||||||
| Version: | 1.3 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows Vista | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Sascha Becher
The problem with hovering appears in Firefox, IE and Eclipse's internal webbrowser. Created attachment 159161 [details]
Entry point used to reproduce the bug
With this entry point I can't reproduce the bug with current CVS HEAD. About the 2px issue - this is a TextSizeDetermination problem. Use this snippet from NavigationView to workaround it:
---------
// workaround to apply TextSizeDetermination results
parent.addControlListener( new ControlAdapter() {
public void controlResized( final ControlEvent e ) {
ExpandItem[] items = expandBar.getItems();
for( int i = 0; i < items.length; i++ ) {
ExpandItem item = items[ i ];
List list = ( List )item.getControl();
item.setHeight( list.computeSize( SWT.DEFAULT, SWT.DEFAULT ).y );
}
}
} );
--------------
Please reopen if you have a complete snippet (entry point or project) to reproduce the bug. |