ImageView: add styleable fitWidth, fitHeight, preserveRatio, smooth properties

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • jfx22
    • Affects Version/s: None
    • Component/s: javafx
    • b21

      The user should be able to set these properties via CSS.

      There is a TODO item in ImageView:812 which calls for these styleable properties:

              // TODO
              // "preserve-ratio","smooth","viewport","fit-width","fit-height"

      New CSS property names:

      -fx-preserve-ratio
      -fx-smooth
      -fx-fit-width
      -fx-fit-height

      Omitting 'viewport' property.

            Assignee:
            Andy Goryachev
            Reporter:
            Andy Goryachev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: