Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
east-10
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
template admin
east-10
Commits
0a6a5509
Commit
0a6a5509
authored
Jun 25, 2021
by
linzhiguo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 只有一个分组
parent
c0ab34d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
group.js
play/assets/east-10/script/group.js
+6
-1
No files found.
play/assets/east-10/script/group.js
View file @
0a6a5509
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment