Integrated: 8267565: Support "@3x" and greater high-density image naming convention

drmarmac duke at openjdk.org
Wed Mar 27 11:14:26 UTC 2024


On Fri, 22 Mar 2024 16:17:29 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.

This pull request has now been integrated.

Changeset: 5d886f82
Author:    drmarmac <6900949+drmarmac at users.noreply.github.com>
Committer: Michael Strauß <mstrauss at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/5d886f82260ee508c0da2dfee5d3ace1a199a675
Stats:     50 lines in 5 files changed: 19 ins; 0 del; 31 mod

8267565: Support "@3x" and greater high-density image naming convention

Reviewed-by: kcr, mstrauss

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

PR: https://git.openjdk.org/jfx/pull/1429


More information about the openjfx-dev mailing list