RFR: 4516654: Metalworks Demo: Window title not displayed fully in Low Vision Theme
Tejesh R
tr at openjdk.org
Wed Jun 7 07:29:53 UTC 2023
On Wed, 7 Jun 2023 06:55:27 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> 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
>
> 
>
> 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
>
> 
I applied the changes and observed that still some overlap is seen. Any additional properties settings are expected for this fix?
-------------
PR Review: https://git.openjdk.org/jdk/pull/14346#pullrequestreview-1466855132
More information about the client-libs-dev
mailing list