Skip to content

1500+ lines of error every time a ComboBox cell factory is called #169

@TelKel81

Description

@TelKel81
 private static ListCell<String> getListCell () {
         return new ListCell<>() {
            @Override protected void updateItem (String family, boolean empty) {
               super.updateItem( family, empty );
               if (empty || family == null) { setText( null ); setFont( Font.getDefault() ); }
               else { setText( family ); setFont( Font.font( family, 12 ) ); }
            }
         };
      }

Pretty much all the errors are like this :
javafx.scene.CssStyleHelper calculateValue
WARNING: Caught 'java.lang.ClassCastException' while converting value for '-fx-background-color' from rule '*.list-view *.list-cell' in stylesheet jar:file:/[...]/atlantafx-base-2.1.0.jar!/atlantafx/base/theme/primer-dark.bss

javafx.scene.CssStyleHelper calculateValue
WARNING: Could not resolve '-color-cell-fg' while resolving lookups for '-fx-text-fill' from rule '*.list-view *.list-cell' in stylesheet jar:file:/[...]/atlantafx-base-2.1.0.jar!/atlantafx/base/theme/primer-dark.bss

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions