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

Guillaume Tâche duke at openjdk.org
Wed Aug 16 15:55:21 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.

This pull request has now been integrated.

Changeset: 5c3e8329
Author:    Guillaume Tâche <tga at bger.ch>
Committer: Ambarish Rapte <arapte at openjdk.org>
URL:       https://git.openjdk.org/jfx/commit/5c3e83293eaf364d7288cd1e609d89c4b20bd91e
Stats:     60 lines in 2 files changed: 58 ins; 2 del; 0 mod

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

Reviewed-by: mhanl, arapte

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

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


More information about the openjfx-dev mailing list