I am relatively new to JavaFX and delving into CSS stylesheets, as well as using stackoverflow. I am curious about how one can customize the styling of a table column header. This is what my current column header looks like: Current appearance of my table view column header
This is the desired look I am aiming for: Desired styling I wish to achieve
Despite attempting to apply various CSS styles, I have not been successful:
.table-view .column-header .nested-column-header
{
-fx-background-color: #AAAAAA;
-fx-background-radius: 0;
-fx-background-insets: 0;
-fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.6), 2, 0.5, 1, 1);
}
.table-view .column-header
{
-fx-background-color: #AAAAAA;
-fx-background-radius: 0;
-fx-background-insets: 0;
-fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.6), 2, 0.5, 1, 1);
}
.table-view .column-header .filter
{
-fx-background-color: #AAAAAA;
-fx-background-radius: 0;
-fx-background-insets: 0;
-fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.6), 2, 0.5, 1, 1);
}
I also examined the caspian.css file within the jfxrt.jar, but unfortunately, it did not provide me with the necessary guidance.
If anyone has any suggestions or ideas, they would be much appreciated. Thank you so much in advance.