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.
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.
- csr for
-
JDK-8321126 ImageView: add styleable fitWidth, fitHeight, preserveRatio, smooth properties
- Closed
- is blocked by
-
JDK-8320796 CssMetaData.combine()
- Closed