| Summary: | [design] View titles aren't resized properly when the title is changed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Beyhan Veliev <beyhan.veliev> | ||||
| Component: | Workbench | Assignee: | Project Inbox <rap-inbox> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | beyhan.veliev, mknauer | ||||
| Version: | 1.3 | ||||||
| Target Milestone: | 1.3 M5 | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Beyhan Veliev
I can't reproduce it. Tested on Windows Vista with FF 3.5.6, IE8 and Ubuntu 9.10 with FF 3.5.5 (CVS HEAD). The view tab is resized properly. Here is the snippet that I used:
----------------
public class TestView extends ViewPart {
public void createPartControl( Composite parent ) {
Button button = new Button( parent, SWT.PUSH );
button.setText( "Change part name" );
button.addSelectionListener( new SelectionAdapter() {
public void widgetSelected( final SelectionEvent event ) {
setPartName( "Very very long part name... ");
}
} );
}
public void setFocus() {
}
}
--------------
Can you provide more information and snippet to reproduce it?
Created attachment 154935 [details]
Patch to reproduce the described bug
Steps to reproduce this bug: 1. Apply the provided patch to the RAP examples. Use the examples of 1.3 M4 with the business design. I used FF 3.5.6 on Windows. The patch contributes a new View "Test View" and stacks the "Example" view and the "Test View". 2. After the examples are started, activate the "Test View" 3. Select the "Change part name" button in the "Test View" 4. The title of the "Test View" is changed but not resized properly. Fixed in CVS HEAD. |