RFR: 8313424: JavaFX controls in the title bar [v14]
Michael Strauß
mstrauss at openjdk.org
Tue Oct 29 05:27:10 UTC 2024
On Mon, 28 Oct 2024 20:44:39 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
> I think it should be consistent: it is, after all, the **minimum height**.
>
> Applications that want larger title bar can easily achieve that, but the minimum height **must** be set to the same height as the standard javaFX-created window.
I've made the window buttons adapt dynamically to the header bar height on macOS. Without a user-provided minHeight, the header bar starts out in the smallest possible configuration (that's the classic layout). Then, as the actual height increases, the window buttons are laid out for medium and large layouts. The cutoff heights for small, medium, and large layouts are 28px, 38px, and 52px respectively.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1605#issuecomment-2443243418
More information about the openjfx-dev
mailing list