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

Michael Strauß mstrauss at openjdk.org
Thu Nov 30 16:23:54 UTC 2023


On Tue, 21 Nov 2023 00:01:14 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> Adding missing styleable properties to ImageView:
> 
> 
> -fx-preserve-ratio
> -fx-smooth
> -fx-fit-width
> -fx-fit-height
> 
> 
> Updated CSS Reference.

modules/javafx.graphics/src/main/java/javafx/css/CssMetaData.java line 341:

> 339:      * @since 22
> 340:      */
> 341:     public static List<CssMetaData<? extends Styleable, ?>> initStyleables(

I think this enhancement shouldn't be a part of this PR.

-------------

PR Review Comment: https://git.openjdk.org/jfx/pull/1293#discussion_r1401426623


More information about the openjfx-dev mailing list