On Mon, 28 Oct 2024 20:44:39 GMT, Andy Goryachev <ango...@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

Reply via email to