| Summary: | [Table] Font of TableItem not preserved | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Benjamin Muskalla <b.muskalla> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | 1.4 M1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Benjamin Muskalla
Snippet to reproduce:
Display display = new Display();
Shell shell = new Shell( display );
shell.setLayout( new GridLayout( 1, false ) );
Table table = new Table( shell, SWT.SINGLE | SWT.FULL_SELECTION );
table.setLayoutData( new GridData( SWT.FILL, SWT.FILL, true, true ) );
table.setLinesVisible( true );
table.setHeaderVisible( true );
for( int i = 0; i < 10; i++ ) {
TableItem tableItem = new TableItem( table, SWT.NONE );
tableItem.setText( 0, "foo" );
tableItem.setFont( new Font( display, "Arial", 10, SWT.BOLD ) );
}
shell.pack();
shell.open();
while( !shell.isDisposed() ) {
if( !display.readAndDispatch() )
display.sleep();
}
display.dispose();
return 0;
Fixed in CVS HEAD. |