Project: SWT
Bug 135040 CCombo.dropdown doesn't handle the screen's right edge
Reported: 2006-04-05 10:55:16 | Status: resolved fixed

The 'popup' Shell of a CCombo is allways justified with the left side of the CCombo, regardless of the screen right edge. I believe adding if (x + width > displayRect.x + displayRect.width) x = displayRect.x + displayRect.width - listRect.width; at line 382 in CCombo.java would solve it.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java