RFR: 8267565: Support "@3x" and greater high-density image naming convention [v2]

Michael Strauß mstrauss at openjdk.org
Wed Mar 27 10:54:27 UTC 2024


On Tue, 26 Mar 2024 21:27:49 GMT, drmarmac <duke at openjdk.org> wrote:

>> This PR extends the range of hi-res images that are loaded via naming convention, now including scale factors higher than `@2x`. 
>> Supporting these is already being [recommended](https://developer.apple.com/design/human-interface-guidelines/images#Best-practices) for some platforms.
>> 
>> I tested this manually on Windows with "300%" UI scale factor, and verified `@2x` still works on macOS.
>
> drmarmac has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Change name2x to nameScaled

Looks good to me.

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

Marked as reviewed by mstrauss (Committer).

PR Review: https://git.openjdk.org/jfx/pull/1429#pullrequestreview-1962957040


More information about the openjfx-dev mailing list