JDK-6609579 : NimbusLAF:Space between the items in the expanded ComboBox is too high.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6u5
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2007-09-26
  • Updated: 2011-02-16
  • Resolved: 2008-02-08
Related Reports
Duplicate :  
Description
I have expanded a ComboBox that contains many no.of items and I observed the space between the items is too high and it looks odd.The issue has been reproducible with 6u5 b04 pit build but its not reproducible till 6u5 b03.

Please check the attached image file for reference.

Comments
EVALUATION The fix for this bug was also needed as part of the the fix for bug 6635257. This bug is being closed as a duplicate of 6635257.
08-02-2008

EVALUATION The issue here is the same renderer is being used for the text on the combo and the text in the combo popup menu. If we make its margins smaller then it will cause the whole combobox to be smaller which will then look odd compared with a button etc. Fixing this requires that the layout of SynthComboBox is majorly changed. To add a extra set of insets that can be added when a renderer is used in the combobox its self.
28-01-2008