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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • jfx22
    • None
    • javafx
    • b21

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: