如何在 javafx中使用边框间距属性?
就像在 css for html 中一样
table.ex1 {
border-collapse: separate;
border-spacing: 10px 50px;
}
如何在 javafx 中使用边框间距?
在 TabPane 里面我想在每个选项卡下放置一个底部边框,我的 css 是
.tab-pane:focused > .tab-header-area > .headers-region > .tab:selected .focus-indicator {
-fx-border-width: 4px;
-fx-border-color: transparent transparent white transparent;
}
它的工作,我有很好的底部边框,但我需要更多的边框间距,所以有人请告诉我该怎么做?
提前致谢。