RFR: 8354478: Improve StageStyle documentation [v3]
Thiago Milczarek Sayao
tsayao at openjdk.org
Wed Apr 16 12:24:05 UTC 2025
On Wed, 16 Apr 2025 08:56:26 GMT, John Hendrikx <jhendrikx at openjdk.org> wrote:
>> Sure. I'll look into it.
>
> To be honest, I don't understand why we specify this at all. "white" surely won't be the default when running on dark theme... I'm pretty sure on Windows it isn't even white, it's some light gray.
When there's no scene attached, it seems to fall back to the default behavior defined by the OS. However, once a scene is set, a white background is sent, although this gets overridden by the root node of the scene.
So I’d say this behavior isn’t really tied to Stage state or StageStyle, but rather to the presence and characteristics of the Scene itself.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1776#discussion_r2046807187
More information about the openjfx-dev
mailing list