Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #5016
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Newsgroups | comp.lang.java.gui |
| Subject | Re: Problems with BasicComboBoxEditor |
| Date | 2012-02-15 09:45 -0800 |
| Organization | http://groups.google.com |
| Message-ID | <28737509.1474.1329327917274.JavaMail.geo-discussion-forums@pbce3> (permalink) |
| References | <87k43pw2dq.fsf@bitburger.home.felix> |
On Tuesday, February 14, 2012 1:06:57 PM UTC-8, Felix Natter wrote: > hi, > > I am using an editable ComboBox with BasicComboBoxEditor > (minimal example attached) with GTK or Nimbus L&Fs: > > JComboBox comboBox = new JComboBox(); > comboBox.setEditable(true); > comboBox.setEditor(new BasicComboBoxEditor()); > > I am having two problems with this: > > #1. the first character in the editable combobox (which uses a > JTextField internally) cannot show the first letter completely (too > few left padding, see attached minimal example) > > #2. The Background color of the editable combo box is white > (as opposed to normal comboboxes, which are grey, depending on L&F) Grey is a lower-contrast background color. Use white. Why make your widgets hard to use? -- Lew
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Next in thread | Find similar
Problems with BasicComboBoxEditor Felix Natter <fnatter@gmx.net> - 2012-02-14 22:06 +0100
Re: Problems with BasicComboBoxEditor "John B. Matthews" <nospam@nospam.invalid> - 2012-02-14 22:15 -0500
Re: Problems with BasicComboBoxEditor fnatter <fnatter@gmx.net> - 2012-02-18 10:45 -0800
Re: Problems with BasicComboBoxEditor "John B. Matthews" <nospam@nospam.invalid> - 2012-02-18 21:44 -0500
Re: Problems with BasicComboBoxEditor Lew <lewbloch@gmail.com> - 2012-02-15 09:45 -0800
Re: Problems with BasicComboBoxEditor fnatter <fnatter@gmx.net> - 2012-02-18 10:46 -0800
csiph-web