On Tue, 10 Jun 2025 16:51:35 GMT, Andy Goryachev <[email protected]> wrote:
> Looks good.
>
> Spent some time trying to set the new -FX-INTERNAL- CSS properties via scene
> stylesheet, failed as expected (win11). BTW, did not see any CSS errors in
> stderr.
This "works" for me:
scene.getStylesheets().add("data:base64," +
Base64.getUrlEncoder().encodeToString("""
.-FX-INTERNAL-header-button-container {
-fx-background-color: #ff000055;
}""".getBytes(StandardCharsets.UTF_8)));
It's still not API, and still not a proper use of this feature.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1605#issuecomment-2960045694