Overriding and changing the getDisplaySize method in DarculaComboBoxUI has the effect of defeating the combobox display size cache in the superclass and to interfere with the claculations in the getBaseline method.
Removing the overridden getDisplaySize seems to have no negative consequences on the widget painting and layouting and restores the ability of baseline aligning a combo box with other widgets.
Example using javax.swing.GroupLayout and baseline alignment, before:
After:
Overriding and changing the getDisplaySize method in DarculaComboBoxUI has the effect of defeating the combobox display size cache in the superclass and to interfere with the claculations in the getBaseline method. Removing the overridden getDisplaySize seems to have no negative consequences on the widget painting and layouting and restores the ability of baseline aligning a combo box with other widgets.
Example using javax.swing.GroupLayout and baseline alignment, before: After: