RFR: 8318577: Windows Look-and-Feel JProgressBarUI does not render correctly on 2x UI scale [v3]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Fri Jan 24 12:24:02 UTC 2025
> JProgressBar (StringPainted variant) does not render consistently on HiDPI displays (e.g. 200% Scale Factor) on Windows (using Windows Look-and-Feel) depending on the height at which JProgressBar is rendered, in which case the gap between progressbar and skin is different for different height as can be seen below
>
> 
>
> Native windows progressbar renders without leaving any gap as can be seen here
>
> 
>
> so the padding is removed to render the progressbar similar to windows native and it is rendered properly
>
> 
Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
hidpi support for line stroke width/height
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/23227/files
- new: https://git.openjdk.org/jdk/pull/23227/files/abb28511..6ec1d16b
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=23227&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=23227&range=01-02
Stats: 14 lines in 1 file changed: 9 ins; 1 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/23227.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23227/head:pull/23227
PR: https://git.openjdk.org/jdk/pull/23227
More information about the client-libs-dev
mailing list