Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Size variants for JComboboxes do not work #92

Open
GoogleCodeExporter opened this issue May 13, 2015 · 1 comment
Open

Size variants for JComboboxes do not work #92

GoogleCodeExporter opened this issue May 13, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

All other components scale nicely but the combo box does not.
Seems to happen on Java 6 and Java 7 on all plattforms.

Original issue reported on code.google.com by rosstaus...@googlemail.com on 25 Jun 2012 at 9:09

@GoogleCodeExporter
Copy link
Author

Fixed partially. It works now if the size variant is set via the global setting.
If the combobox is editable and the putClientProperty("JComponent.sizeVariant", 
...) is used it does not work because then internally the editor field is used 
and that one has no property set.
Should work for most scenarios already and I will have a second look at the 
remaining issue one day.

- Rossi

Original comment by rosstaus...@googlemail.com on 15 Nov 2013 at 10:36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant