6163 Proper checkbox background color

This commit is contained in:
Ethan Roseman 2020-03-27 12:33:51 -04:00
parent fdd23b8a92
commit c5668891ab

View File

@ -130,6 +130,7 @@ final class CheckBoxJList<T extends CheckBoxJList.CheckboxListItem> extends JLis
setBackground(list.getBackground()); setBackground(list.getBackground());
checkbox.setSelected(value.isChecked()); checkbox.setSelected(value.isChecked());
checkbox.setBackground(list.getBackground());
label.setText(value.getDisplayName()); label.setText(value.getDisplayName());
if (value.hasIcon()) { if (value.hasIcon()) {
label.setIcon(value.getIcon()); label.setIcon(value.getIcon());