switching skins at runtime

Werner Lehmann lehmann at media-interactive.de
Mon Dec 29 10:53:34 UTC 2014


I think this is something you need to do in SkinBase.dispose.

Werner

On 26.12.2014 22:55, Tom Eugelink wrote:
> Hm, I've got it working, but I need to call a "getChildren().clear()"
> before I start creating nodes in a skin. If not, the control will
> retain the nodes an old skin has created. Also any style classes that
> were assigned remain, but those can be reset easily.
>
> Never the less I feel that setSkin() should clear the children and
> reset the style classes itself?


More information about the openjfx-dev mailing list