-
Bug
-
Resolution: Duplicate
-
P4
-
fx2.1
-
win xp
32
JavaFX 2.1b13
https://forums.oracle.com/forums/thread.jspa?threadID=2349035&tstart=15
Setting the CSS for the .titled-pane class affects not only the Label, but also the contents of the panes:
.titled-pane {
-fx-text-fill: white;
}
In my case the TitledPanes contain ListViews with Labeled items). In result each of labels becomes white in color....
I would like to style only the Label of the TitledPane...that's why I'm using the following CSS;
.titled-pane:expanded > .title {
-fx-base: #555555;
-fx-text-fill: white;
}
and this is not working(the Label of the pane is not colored in white, when the pane is expanded and not focused)
...seems like a bug to me...
-------------------------------------------
.tooltip {
-fx-text-fill: white;
}
does not seem to work in 2.1 either ...
Setting the CSS for the .titled-pane class affects not only the Label, but also the contents of the panes:
.titled-pane {
-fx-text-fill: white;
}
In my case the TitledPanes contain ListViews with Labeled items). In result each of labels becomes white in color....
I would like to style only the Label of the TitledPane...that's why I'm using the following CSS;
.titled-pane:expanded > .title {
-fx-base: #555555;
-fx-text-fill: white;
}
and this is not working(the Label of the pane is not colored in white, when the pane is expanded and not focused)
...seems like a bug to me...
-------------------------------------------
.tooltip {
-fx-text-fill: white;
}
does not seem to work in 2.1 either ...
- duplicates
-
JDK-8127424 .titled-pane > .title > .text { -fx-font-size:34px; } does not work
- Closed
- is blocked by
-
JDK-8127424 .titled-pane > .title > .text { -fx-font-size:34px; } does not work
- Closed