Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 301005

Summary: [ExpandBar] fails to reset font
Product: [RT] RAP Reporter: Benjamin Muskalla <b.muskalla>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.3   
Target Milestone: 1.3 M5   
Hardware: All   
OS: All   
Whiteboard:

Description Benjamin Muskalla CLA 2010-01-27 10:16:06 EST
Resetting the font of the ExpandBar by passing null is not possible.

  public void testResetFont() {
    Display display = new Display();
    Shell shell = new Shell( display );
    ExpandBar expandBar = new ExpandBar( shell, SWT.NONE );
    expandBar.setFont( null );
  }
Comment 1 Ivan Furnadjiev CLA 2010-01-27 10:34:36 EST
Fixed in CVS HEAD.