mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-27 03:46:17 -06:00
fix: filter combobox by name
This commit is contained in:
@@ -324,8 +324,8 @@ public class FlatListUI
|
||||
cw = rowBounds.width;
|
||||
}
|
||||
|
||||
// filelist/combobox does not support alternate row color
|
||||
if( !isFileList && !(dataModel instanceof DefaultComboBoxModel) ) {
|
||||
// combobox does not support alternate row color
|
||||
if ( !"ComboBox.list".equals( list.getName() ) ) {
|
||||
if( alternateRowColor != null && row % 2 != 0 ) {
|
||||
g.setColor( alternateRowColor );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user