我想创建一个左上角和右上角有 2 个圆 Angular 的 Pane ,我如何在 javafx 中执行此操作? 我知道您可以在普通 css 中使用“border-top-left-radius”,但它不会在 javafx 下工作。 到目前为止,我尝试过:
.calendar {
-fx-border-top-left-radius: 10px;
-fx-border-top-right-radius: 10px;
}
提前致谢
僵尸
最佳答案
.calendar{
-fx-border-radius: 10 10 0 0;
-fx-background-radius: 10 10 0 0;
/* top-left, top-right, bottom-right, and bottom-left corners, in that order. */
}
关于css - Javafx/CSS 中的左上角和右上角圆 Angular ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16564818/