RFR: 8313424: JavaFX controls in the title bar [v71]
Michael Strauß
mstrauss at openjdk.org
Fri May 2 11:53:05 UTC 2025
On Fri, 2 May 2025 10:32:42 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:
>> Implementation of [`StageStyle.EXTENDED`](https://gist.github.com/mstr2/0befc541ee7297b6db2865cc5e4dbd09).
>
> Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:
>
> simplify header area picking
> But I can imagine a lot of people will want a menu in the top header bar; some maybe with too many items to be reasonably fit into a "minimum" size.
>
> Look at SceneBuilder (which has no min size), when resized, the menu items all get ellipsed -- not beautiful but at least it's something:
>
> Would this behave similarly in HeaderBar, or would it stay fullsize, and the window icons overlay it? (I am unable to test it at the moment)
`MenuBar` seems to just stay full size. Maybe the best option would be to enhance `MenuBar` with an overflow area, where its menus will appear when there's not enough space to lay the menus out next to each other?
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1605#issuecomment-2847028192
More information about the openjfx-dev
mailing list