如何从CSS中更改左箭头填充JavaFx中的弹出颜色?
我试过以下几种方法,但都没有用。
.popover > .content {
-fx-fill: yellow !important;
-fx-background-color: red !important;
}
popover > .content > .accordion > .titled-pane > .title > .arrow-button > .arrow {
-fx-background-color: red !important;
-fx-fill: red !important;
-fx-pref-height: 34.0 !important;
}
.popover > .content > .accordion > .titled-pane > .title > .arrow-button {
-fx-background-color: yellow !important;
-fx-fill:yellow !important;
}发布于 2018-01-06 07:53:48
我解决了使用。
.popover > .border {
-fx-border-style: none;
-fx-padding: 0;
-fx-border-width: 0;
-fx-fill: rgba(255,255,255,0.5);
}发布于 2015-10-01 09:24:39
我用以下方法解决问题:
.popover > .border {
-fx-stroke-width: 0;
-fx-fill: rgba(255,255,255,1) !important;
-fx-effect: dropshadow(gaussian, lightgray, 6.0, 0.0, 1.0, 1.0);
}https://stackoverflow.com/questions/32874528
复制相似问题