On Mon, 19 Dec 2022 15:50:19 GMT, Lukasz Kostyra <lkost...@openjdk.org> wrote:

> Creating a not-displayed node and then modifying its contents caused JFX to 
> not consume its old dirty region and thus not update it. When such node was 
> displayed, its old dirty region was used for drawing, which in some cases 
> (ex. new content taking more space - a Label having more text as in bug 
> request) caused it to clip.
> 
> Resolved by always unionizing dirty regions with new bounds when calculating 
> Node's transformed bounds.
> 
> Change was tested on macOS and Windows 10 and does not affect any tests.

This pull request has now been integrated.

Changeset: 0dbc4484
Author:    Lukasz Kostyra <lkost...@openjdk.org>
Committer: Ambarish Rapte <ara...@openjdk.org>
URL:       
https://git.openjdk.org/jfx/commit/0dbc4484c96859c6106bb4c62bff261c7e901aed
Stats:     6 lines in 1 file changed: 3 ins; 1 del; 2 mod

8231864: JavaFX Labels in Tab's VBox is not displayed until it is clicked

Reviewed-by: arapte

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

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

Reply via email to