On Wed, 25 Mar 2026 17:07:52 GMT, Christopher Schnick <[email protected]> wrote:
>> Maybe we can just check if `x` and `y` are set or something like that? > > That would depend on the screen configuration which x and y values are right > or wrong in this case. It also depends on the OS, the old (wrong) centering > code resulted in different levels of offsets from the center on different > systems for me As far as I can see, it uses the owner `Scene` and `DialogPane` sizes, so it might be possible to set all those values and get predictable X and Y values. And since the tests are headless with the stub toolkit, it might be indeed predictable (same code should run for all OS). Worth a try at least ------------- PR Review Comment: https://git.openjdk.org/jfx/pull/2127#discussion_r2989753989
