RFR: 4516654: Metalworks Demo: Window title not displayed fully in Low Vision Theme [v2]

Prasanta Sadhukhan psadhukhan at openjdk.org
Fri Jun 9 05:33:19 UTC 2023


> In Metalworks demo in Low Vision theme, window title is not diplayed fully in this theme. The first letter of the title, that is letter "M", is cut vertically
> 
> ![image](https://github.com/openjdk/jdk/assets/43534309/b122787c-8144-4771-a74a-71b60e1a63f9)
> 
> It is because the iconsize is hardcoded to be 30 and windows titlePane title is rendered at same place irrespective of theme (only font size is made bigger from normal pt 12 to 24 for Low Vision theme) so icon width overlaps the title.
> Icon width is made to be 24 in demo in sync with window title font size which made it work ok
> 
> ![image](https://github.com/openjdk/jdk/assets/43534309/fa61f2cb-8339-4e92-8612-b1d8d32e8b7f)

Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:

  Fix

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/14346/files
  - new: https://git.openjdk.org/jdk/pull/14346/files/c70cc5c8..2e169762

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14346&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14346&range=00-01

  Stats: 3 lines in 2 files changed: 0 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/14346.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14346/head:pull/14346

PR: https://git.openjdk.org/jdk/pull/14346



More information about the client-libs-dev mailing list