RFR: 8340344: The first item in TreeView is not aligned in the beginning [v5]
Ziad El Midaoui
zelmidaoui at openjdk.org
Wed May 14 18:28:54 UTC 2025
On Wed, 14 May 2025 17:27:59 GMT, Andy Goryachev <angorya at openjdk.org> wrote:
>>> does this create any visual artifacts?
>>
>> No artifacts, just that one can notice the re-layout and the TreeCell shift to right.
>
> this is the expected behavior though, right?
>
> what we **don't** want is the flicker - when the re-layout is needed but happens in another pulse. When e.g. scrollbars need to appear/disappear it may even lead to flicker that does not end.
Yes normally it is expected to see this behavior since we do a re-layout so the TreeCells are updated with a new `defaultDisclosureWidth` value, I tested it and I do not see a flicker on my system.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1715#discussion_r2089508605
More information about the openjfx-dev
mailing list