Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8116769

Some CSS properties do not take effect in controls (2.1 b13)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • fx2.1
    • fx2.1
    • javafx
    • 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 ...

            kwwong Kinsley Wong (Inactive)
            kiriljfx Kiril (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: