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

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

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • jfx22
    • None
    • 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.

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

              Created:
              Updated:
              Resolved: