var size = cc.winSize;
var scrollView = new ccui.ScrollView();
scrollView.setDirection(ccui.ScrollView.DIR_VERTICAL);
scrollView.setTouchEnabled(true);
scrollView.setBounceEnabled(true);
scrollView.setBackGroundColorType(ccui.Layout.BG_COLOR_SOLID);
scrollView.setBackGroundColor(cc.color(255,255,255));
//scrollView.setBackGroundImageScale9Enabled(true);
scrollView.setContentSize(cc.size(720, 1280));
scrollView.setInnerContainerSize(cc.size(720, (1280*2)));
scrollView.setAnchorPoint(cc.p(0.5, 0.5));
scrollView.setPosition(cc.p(360, 640));
this.addChild(scrollView);
버튼의 위치가 중간에 시작됩니다. Cocos2dx - js - ScrollView - 위치를 지정할 수 없습니다.
scrollView.setPosition(cc.p(360, 0));
제가 y 위치를 변경하는 경우
, 그것은 다른 모습을 제공한다.