Skip to content

When using ControlsFX's TableView2 component in the transit-samples project, I encountered two critical problems #8

@yhy949

Description

@yhy949

1. using TableView2 , horizontal scrolling triggers the following warning in the console:
WARNING: Caught 'java.lang.ClassCastException: class java.lang.String cannot be cast to class javafx.scene.paint.Paint (java.lang.String is in module java.base of loader 'bootstrap'; javafx.scene.paint.Paint is in module javafx.graphics@17.0.14 of loader 'platform')' while converting value for '-fx-background-color' from rule '*.table-view2>*.virtual-flow>*.clipped-container>*.sheet>*.table-row-cell>*.tableview2-cell' in stylesheet jar:file:/D:/soft/gradle-8.5/.gradle/caches/modules-2/files-2.1/org.controlsfx/controlsfx/11.1.0/4627258861ef68750b5fce11f8853d530cce6add/controlsfx-11.1.0.jar!/org/controlsfx/control/tableview2/tableview2.css

  1. TableView2 Header Turns White Background in Cell Selection Mode

Image

Environment‌:
‌JavaFX‌: 21.0.7
os: win11

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