Hi Tomas,
I think the expected way of doing this is to defer the code which
requires the control width until normal layout passes come across it. Or
maybe not only defer that code but actually move it to layouting methods.
Werner
On 09.02.2015 00:51, Tomas Mikula wrote:
Actually, I want
Hi Werner,
the problem is that I am already doing it in layout: only in the
layout process of the parent node do I determine that I need to add
some more child nodes. So after adding them, I would like to have them
properly laid out in the current layout pass.
Tomas
On Mon, Feb 9, 2015 at 4:43
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
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 tomas.mik...@gmail.com wrote:
Hello list,
after adding a node to the scene graph, how do I apply the skin to