在 css 中更改 TabPane 的顶部颜色
Change the top color of a TabPane in css
我未能更改 JavaFx css.Details 中 tabPane 顶部的颜色
我试过了
#myTabPane .tab-header-area{
-fx-background-color: white;
}
和
#myTabPane{
-fx-background-color: white;
}
但没有阳性结果。
尝试设置 tab-header-background
的背景颜色。例如:
.tab-pane>*.tab-header-area>*.tab-header-background
{
-fx-background-color: -fx-outer-border, -fx-text-box-border, white;
}
我未能更改 JavaFx css.Details 中 tabPane 顶部的颜色
我试过了
#myTabPane .tab-header-area{
-fx-background-color: white;
}
和
#myTabPane{
-fx-background-color: white;
}
但没有阳性结果。
尝试设置 tab-header-background
的背景颜色。例如:
.tab-pane>*.tab-header-area>*.tab-header-background
{
-fx-background-color: -fx-outer-border, -fx-text-box-border, white;
}