In the attached program I create a control with a skin that has just one line from (0,0) to (1,0) (stored in member skinNode)
After several calls to getNode() in the skin the layoutX and layoutY property of this line both get changed to 0.5
As a result of this, the line representing the control doesn't coincide anymore with the red control line in the example and ends up in a different location after applying the same transform to both.
The question is why the layoutX and layoutY of the line in the skin get changed.
After several calls to getNode() in the skin the layoutX and layoutY property of this line both get changed to 0.5
As a result of this, the line representing the control doesn't coincide anymore with the red control line in the example and ends up in a different location after applying the same transform to both.
The question is why the layoutX and layoutY of the line in the skin get changed.