| Summary: | [Combo][CCombo] Drop-down list does not adapt to item text size | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ralf Sternberg <rsternberg> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P2 | CC: | jfaltermeier, mknauer |
| Version: | 2.3 | ||
| Target Milestone: | 2.3 M3 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
This regression has been introduced with commit b64dab812b18d31d43daa9dc325f6dcc2b1907a2. The issue is fixed with the new Combo implementation based on DropDown - change https://git.eclipse.org/r/24466. |
Example snippet: Combo combo = new Combo( parent, SWT.BORDER ); combo.setItems( new String[] { "foo", "bar", "combo item with very long text" } ); combo.setLayoutData( new GridData( 120, SWT.DEFAULT ) ); Expected: the drop-down list is as wide as the largest item and completely contains the item text Actual: the drop down list is as wide as the combo, the long item text is only partly visible This seems to be regression. May have been introduced by commit 962a4d3 (bug 352558).