On Thu, 24 Apr 2025 09:15:15 GMT, Markus Mack <mm...@openjdk.org> wrote:

> * On Windows, when resizing the window horizontally to small sizes, the 
> header button symbols are drawn over any other content in the header bar's 
> center region, which looks broken. Can the layout be made stricter to prevent 
> this? Or always draw the background behind these symbols?

`HeaderBar` honors the minimum sizes of its children, so we can't size it down 
any further. We could potentially clip the children to an area that excludes 
the window buttons. To do that, we'd set a default clip node via 
`Node.setClip()`. On the other hand, that may be best left to application 
developers.

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

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

Reply via email to