Forum Discussion

SDChris85's avatar
New Contributor
9 years ago

Can we get JavaFX Label BackgroundFill properties?

I'm trying to access a javaFX label field property to determine the background color of the label. I drill all the way down to this property,


but I'm getting the string "-fx-background-color" only and nothing else. Is there a way to get the actual color value in Test Complete?


In the javaFX code, they are setting the background color to this


labelobj.setBackground(new Background(new BackgroundFill(Color.GOLD, CornerRadii.EMPTY, Insets.EMPTY)));


1 Reply