Re: How to "apply" skin?

2015-02-08 Thread Tomas Mikula
Actually, I want skins to be applied in the whole sub-tree of a node. The node itself may not be a control, but it may contain controls. On Sun, Feb 8, 2015 at 6:44 PM, Tomas Mikula wrote: > Hello list, > > after adding a node to the scene graph, how do I "apply" the skin to > it, in case it is a

How to "apply" skin?

2015-02-08 Thread Tomas Mikula
Hello list, after adding a node to the scene graph, how do I "apply" the skin to it, in case it is a Control? Something like an equivalent of applyCss() for skins. My use case is this: I add a node to the scene, and want to know its preferred width. So I call node.applyCss() to make sure CSS is a