RFR: 8313424: JavaFX controls in the title bar [v65]
Michael Strauß
mstrauss at openjdk.org
Fri Apr 25 07:36:11 UTC 2025
On Thu, 24 Apr 2025 09:15:15 GMT, Markus Mack <mmack at 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
More information about the openjfx-dev
mailing list