Top-left and -right corner rounded in Javafx/CSS

后端 未结 1 484
轮回少年
轮回少年 2020-12-30 01:19

I would like to create a Pane with 2 rounded corners top-left and top-right, how can i do this in javafx? I know that u can use \"border-top-left-radius\" in normal css but

相关标签:
1条回答
  • 2020-12-30 02:08
    .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. */
    }
    
    0 讨论(0)
提交回复
热议问题