Commit 0a6a5509 authored by linzhiguo's avatar linzhiguo

# 只有一个分组

parent c0ab34d3
......@@ -35,7 +35,12 @@ cc.Class({
let num = this.node.childrenCount;
let width = -1;
let w_scale = 1;
if (num== 2){
if (num== 1){
this.layout.paddingLeft = 100;
this.layout.spacingX = 100;
width = 479;
}
else if (num== 2){
this.layout.paddingLeft = 100;
this.layout.spacingX = 100;
width = 479;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment