Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

controlsfx popover style CSS

How can I change, from CSS, the left arrow fill color in popover from JavaFx?

I tried the following, but it didn't work.

   .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;
}
like image 260
Lorenzo De Francesco Avatar asked May 13 '26 07:05

Lorenzo De Francesco


1 Answers

i solved using .

.popover > .border  {
    -fx-border-style: none;
    -fx-padding: 0;
    -fx-border-width: 0;
    -fx-fill: rgba(255,255,255,0.5);
}
like image 177
Kristian Ray Avatar answered May 15 '26 04:05

Kristian Ray



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!