Hi everyone
Just a post to report a bug into Cocos Creator (not sure I already found a post about this oneā¦): after changing the value of bottom
from a widget component added into a Button
, I use the updateAlignment()
function to update the y
value of the node (in this case the Button
), but it looks like nothing happensā¦
Step to reproduce:
- Add a
Button
to a scene - Add the component
Widget
- Change programatically the value of property
bottom
of the widget (from a script bound to theButton
component)
Result: no change
Hope this help