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

Guillaume Tâche duke at openjdk.org
Thu Aug 3 15:02:43 UTC 2023


`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.

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

Commit messages:
 - 8310885: Width/height of window is not set after calling sizeToScene

Changes: https://git.openjdk.org/jfx/pull/1195/files
 Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1195&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8310885
  Stats: 68 lines in 2 files changed: 62 ins; 2 del; 4 mod
  Patch: https://git.openjdk.org/jfx/pull/1195.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1195/head:pull/1195

PR: https://git.openjdk.org/jfx/pull/1195


More information about the openjfx-dev mailing list