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

Andy Goryachev angorya at openjdk.org
Tue Nov 12 17:52:32 UTC 2024


On Sat, 9 Nov 2024 07:45:19 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

>> Implementation of [`EXTENDED` stage style](https://gist.github.com/mstr2/0befc541ee7297b6db2865cc5e4dbd09).
>
> Michael Strauß has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 34 commits:
> 
>  - Merge branch 'master' into feature/extended-window
>  - Merge branch 'master' into feature/extended-window
>  - add system menu documentation
>  - WindowControlsOverlay snapping
>  - HeaderBar javadoc change
>  - refactor performWindowDrag
>  - HeaderBar changes
>  - EMPTY Dimension2D constant
>  - use CsvSource in HeaderBarTest
>  - stylistic changes
>  - ... and 24 more: https://git.openjdk.org/jfx/compare/d0011b21...65f095ef

modules/javafx.graphics/src/main/java/com/sun/glass/ui/WindowControlsOverlay.java line 133:

> 131: public final class WindowControlsOverlay extends Region {
> 132: 
> 133:     private static final CssMetaData<WindowControlsOverlay, HorizontalDirection> BUTTON_PLACEMENT_METADATA =

BTW, check out `StyleablePropertyFactory`.  It can be used if one doesn't do lazy initialization, or if one doesn't need e.g. `IntegerProperties`.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1605#discussion_r1838534313


More information about the openjfx-dev mailing list