Eirik Bakke created NETBEANS-4066: ------------------------------------- Summary: Inaccurate text measurement in editor tabs on HiDPI displays on Windows Key: NETBEANS-4066 URL: https://issues.apache.org/jira/browse/NETBEANS-4066 Project: NetBeans Issue Type: Improvement Components: platform - Other Affects Versions: 11.3 Environment: Windows 10 with HiDPI scaling enabled (e.g. 150% or 200%--not necessarily fractional scalings only) Reporter: Eirik Bakke Attachments: Inaccurate tab text mesaurement.png
Having fixed NETBEANS-2543, I see there is a similar issue in the NetBeans tab component, e.g. in the editor tabs. On Windows 10, with HiDPI scaling enabled on either 150% or 200% (for example), a tab title "AaaiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiA" will overshoot its allocated space. Presumably this is another case where text measurement is done on a FontRenderContext that hasn't properly had the appropriate monitor's HiDPI scaling applied. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists