Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

挂载的prefab 如果使用cc.widget 拖拽就会出现问题 #13

Open
ginqingSeven opened this issue Mar 25, 2020 · 2 comments
Open

Comments

@ginqingSeven
Copy link

挂载的prefab 如果使用cc.widget 拖拽就会出现问题

@ginqingSeven
Copy link
Author

拖拽 content下的节点就只剩下一个 然后无法拖拽了

@suyihao37
Copy link

挂载的prefab 如果使用cc.widget 拖拽就会出现问题

你的item高度是动态的吧,在每次尺寸改变时更新一下widget就可以。有两种方法:widget的模式用always或者:
node.getComponent(cc.Widget).enabled=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants