When I apply the CSS properties -fx-border-radius
and -fx-border-width
to a basic GridPane, the background in the corner does not get "cut off".
The following is the CSS code being used:
.payload {
-fx-hgap: 20px;
-fx-padding: 40px;
-fx-background-color: #2969c0;
-fx-border-radius: 50px;
-fx-border-width: 5px;
-fx-border-color: black;
-fx-effect: dropshadow(three-pass-box, rgba(0, 0, 0, 0.8), 10, 0, 0, 0);
}
Here is an image depicting the issue:
What steps should be taken to resolve this problem?