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

Using a style class to set gradient does not change the color editor

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u6
    • Fix Version/s: 7u6
    • Component/s: javafx
    • Labels:
      None

      Description

      Define in a stylesheet file the linear gradient rule:
      .lineargradient {
      -fx-fill: linear (0%,0%) to (0%,100%) stops (0%,derive(-fx-color,-9%)) (100%,derive(-fx-color,-33%));
      }

      Then, apply it to a Rectangle, from the Look tab.
      The Fill property should not allow to change the color fields, and a CSS button should appear.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jfdenise Jean-Francois Denise (Inactive)
                Reporter:
                jcambon Jerome Cambon
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: