Community
Participate
Working Groups
Build ID: I20080617-2000 Steps To Reproduce: I'm having the following problem when implementing a combo with these kinds of values: >10 or <10. 1. Create a combo with these two values: < 10 and > 10 2. Open the combo and select one of the elements. 3. If I select the first value the combo will show < 10 The only problem (I suppose) is that the data is no shown as it should. More information: Here is a piece of code where this can be seen: <code> final Display display = PlatformUI.createDisplay(); final Shell s = new Shell(display, SWT.SHELL_TRIM); s.setText("Combo Example"); s.setBounds(10, 10, 640, 480); s.setLayout(new FillLayout()); Composite c = new Composite(s,SWT.NONE); c.setLayout(new GridLayout()); Combo combo = new Combo(c, SWT.READ_ONLY | SWT.DROP_DOWN); GridData gdCombo = new GridData(70, SWT.DEFAULT); gdCombo.horizontalAlignment = SWT.FILL; gdCombo.verticalAlignment = SWT.TOP; gdCombo.grabExcessVerticalSpace = false; combo.setLayoutData(gdCombo); combo.add("> 10"); combo.add("< 10"); s.layout(); s.open(); while (!s.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } </code>
Filed qx bug 1032: Empty items in ComboBox are too small http://bugzilla.qooxdoo.org/show_bug.cgi?id=1032
Oops, there is a mistake in the previous comment. The correct qooxdoo bug is 1033: Entities displayed in ComboBox text field after selection http://bugzilla.qooxdoo.org/show_bug.cgi?id=1033
The issue has been fixed in qx-0.7.4 and is not reproducable anymore.
*** Bug 219300 has been marked as a duplicate of this bug. ***