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

Andy Goryachev angorya at openjdk.org
Thu Nov 30 16:23:54 UTC 2023


On Wed, 22 Nov 2023 02:23:08 GMT, Michael Strauß <mstrauss 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.

created  [JDK-8320796](https://bugs.openjdk.org/browse/JDK-8320796)

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

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


More information about the openjfx-dev mailing list