RFR: 8313424: JavaFX controls in the title bar [v14]

Michael Strauß mstrauss at openjdk.org
Mon Oct 28 20:36:24 UTC 2024


On Mon, 28 Oct 2024 20:23:50 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

> re: header bar height (on mac). It looks super weird that the title is larger than the native - I would expect it to be the same.
> 
> How does macOS itself determine the height?
> 
> Silly idea: can we create a dummy Stage and measure (without any visual artifacts?)

There are three different native title bar sizes on macOS, depending on the selected style.
Compare MonkeyTester (small) to Maps (medium) to Finder (large).

Even if we could measure the height on screen (by counting pixels?), we'd still need to decide on the style.

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

PR Comment: https://git.openjdk.org/jfx/pull/1605#issuecomment-2442568996


More information about the openjfx-dev mailing list