I have two panels - the parent panel and the child panel. The child window is inside the parent window. The parent panel has the following css rules:
-fx-border-color:derive(-fx-background, -35%); -fx-border-width:1; -fx-border-style:solid; -fx-border-radius:4;
The child panel has the following css rules:
-fx-background-radius:25;
And this is one of the angles:

As you can see, the corner is a little pale - I mean, the border with the parents is not very visible in the corner itself (lower left corner). To solve this problem, I added -fx-background-radius:25 to the child, but that didn't help. How to fix this, taking into account that I can not add an addition to the parent or markup for the child?
source share