We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f872bc7 commit a043232Copy full SHA for a043232
1 file changed
ext/ExtWidget.js
@@ -8,6 +8,8 @@ ExtWidget.GenEmptyNode = function () {
8
// let node = new ccui.Widget()
9
let node = new cc.Node()
10
node.setContentSize(cc.size(40, 40))
11
+ node.anchorX = 0.5
12
+ node.anchorY = 0.5
13
node._className = ExtWidget.name
14
return node
15
}
0 commit comments