Hi guys!
I need your help to do the following thing:
I have a ListView
with a list of child nodes (Layout
objects).
I want to change the size of a child node when the user tap on it.
I do this using the new Cocos2d-x 3.14 action ResizeBy
.
The problem is that after the child node gets bigger, the ListView
has the same layout and the nodes overlaps.
I want the nodes under the tapped one to shift down.
Has the ListView
a method to adjust its layout depending on the size of its children?
Thanks!