Community
Participate
Working Groups
Created attachment 273299 [details] Combo-box getting cut on Linux Combobox is devided into two parts where left part is inactive and right part is active showing half of the selected text. Combobox shows full text on Windows. Run below code to reproduce the issue on Linux. ComboSizeIssue.java import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Combo; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class ComboSizeIssue { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setSize(550, 250); shell.setText("A Combo Example"); final Combo combo = new Combo(shell, SWT.READ_ONLY); combo.setBounds(100, 100, 150, 65); String items[] = { "First item selected by user", "Second item selected by user", "Third item selected by user"}; combo.setItems(items); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
*** This bug has been marked as a duplicate of bug 500703 ***