RFR: 8328577: Toolbar's overflow button overlaps the items [v6]

eduardsdv duke at openjdk.org
Tue Apr 16 16:21:02 UTC 2024


On Tue, 16 Apr 2024 16:08:12 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> The ``Node.getPseudoClassStates()`` returns an unmodifiable collection. The bindings would not work. Therefore we need to use a listener and change the pseudo-class-state by using the ``Node.pseudoClassStateChanged(PseudoClass, boolean)`` method.
>
> how silly of me!  you are right, of course.  thank you for clarification.

You are welcome, partner :-). 
It was a surprise for me too. 
It's strange, why it needs to be an unmodifiable collection.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1434#discussion_r1567639883


More information about the openjfx-dev mailing list