Step to reproduce :
1 Run attached pcode.
2 apply style "-fx-border-color:blue;-fx-border-width:10;" for controls, see image1.png
3 apply style "-fx-border-color:null" for clear borders.
4 apply style "-fx-border-color:blue", see image2.png
3 apply style "-fx-border-color:blue;-fx-border-width:10;", see image3.png
1 Run attached pcode.
2 apply style "-fx-border-color:blue;-fx-border-width:10;" for controls, see image1.png
3 apply style "-fx-border-color:null" for clear borders.
4 apply style "-fx-border-color:blue", see image2.png
3 apply style "-fx-border-color:blue;-fx-border-width:10;", see image3.png