RFR: 8310885: Width/height of window is not set after calling sizeToScene

Kevin Rushforth kcr at openjdk.org
Thu Aug 3 15:16:39 UTC 2023


On Thu, 3 Aug 2023 14:57:50 GMT, Guillaume Tâche <duke at openjdk.org> wrote:

> `setHeight()` / `setWidth()` were ignored if called after `sizeToScene()` and before `show()`.      
> Now the `sizeToScene` flag is unset in these methods to ensure the right values are set when the window is shown.

The fix looks reasonable at first glance.

@arapte can you be the primary reviewer?

@lukostyra you might also want to take a look.

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

PR Comment: https://git.openjdk.org/jfx/pull/1195#issuecomment-1664172211


More information about the openjfx-dev mailing list