RFR: 8313424: JavaFX controls in the title bar [v60]

Thiago Milczarek Sayao tsayao at openjdk.org
Sun Apr 6 22:21:02 UTC 2025


On Sun, 6 Apr 2025 09:29:33 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

>> Implementation of [`EXTENDED`](https://gist.github.com/mstr2/0befc541ee7297b6db2865cc5e4dbd09) and `EXTENDED_UTILITY` stage style.
>
> Michael Strauß has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 77 commits:
> 
>  - doc update
>  - Merge branch 'master' into feature/extended-window
>    
>    # Conflicts:
>    #	tests/manual/monkey/src/com/oracle/tools/fx/monkey/MainWindow.java
>    #	tests/manual/monkey/src/com/oracle/tools/fx/monkey/tools/ModalWindow.java
>  - documentation
>  - documentation
>  - tweak header button scaling at 100%
>  - enable preview features in tests
>  - add preview feature
>  - add preview feature
>  - Merge branch 'master' into feature/extended-window
>  - tweak header button glyph scaling
>  - ... and 67 more: https://git.openjdk.org/jfx/compare/f31d00d8...88e50163

I'm thinking:

Should this be a Stage style? The existence of the `EXTENDED_UTILITY` style makes the case stronger. What if the user wants the Stage to be `TRANSPARENT` (*)? The only style it wouldn't be compatible with is `DECORATED` (considering `UNIFIED` will go away).

(*) `TRANSPARENT` would be the case for Linux if the users wants rounded corners, for example.

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

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


More information about the openjfx-dev mailing list