GoXR3Plus GoXR3Plus - 1 year ago 99
CSS Question

JavaFX 2 classes with different name have same css code

No description

Answer Source

You need to specify .text-field to both .search-box and .text-field, as next:

.search-box .text-field, .libraries-search-box .text-field {
     -fx-background-color: white;   
    -fx-background-radius: 5.0;

Indeed .search-box , .libraries-search-box .text-field is seen as .search-box or .libraries-search-box .text-field not as .search-box .text-field or .libraries-search-box .text-field as you expect.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download