Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Labels:
    • Environment:

      all

      Description

      If I apply this style setting
      -fx-font: 30 'Arial Black';
      to a label, for example, then the size is set correctly but the font familiy is silently ignored.
      If I however write it like this
      -fx-font: 30 "Arial Black";
      both, the size and the font family, are set correctly.

      This raises two questions:
      Why is the string in single quotes not accepted and why is there no error indication?
      The CSS documentation clearly sais:
      "Strings can either be written with double quotes or with single quotes."

        Attachments

          Activity

            People

            • Assignee:
              dgrieve David Grieve (Inactive)
              Reporter:
              dpausjfx Dr. Michael Paus (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: