Cursor.cursor does not accept cursor names with hyphens

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 8
    • Affects Version/s: 7u25
    • Component/s: javafx
    • None

      The style

        -fx-cursor: h-resize;

      does not work as documented in http://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html. Instead this is required:

        -fx-cursor: h_resize;

      Apparently there is a direct translation of the corresponding Cursor.* constants which use underscores for several cursors.

            Assignee:
            David Grieve
            Reporter:
            Werner Lehmann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: