jmcabandara / seaglass

Automatically exported from code.google.com/p/seaglass
1 stars 0 forks source link

Size variants for JComboboxes do not work #92

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 commented 8 years ago
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