修改日常界面滚动列表间距
parent
4ef694e42e
commit
dab5db671f
|
@ -31,7 +31,7 @@ function this:InitComponent(gameObject)
|
|||
this.rewardPre = Util.GetGameObject(gameObject, "rewardPre")
|
||||
local v = Util.GetGameObject(gameObject, "rect"):GetComponent("RectTransform").rect
|
||||
this.ScrollView = SubUIManager.Open(SubUIConfig.ScrollCycleView, Util.GetGameObject(gameObject, "rect").transform,
|
||||
this.rewardPre, nil, Vector2.New(v.width, v.height), 1, 1, Vector2.New(0,-5))
|
||||
this.rewardPre, nil, Vector2.New(v.width, v.height), 1, 1, Vector2.New(0,15))
|
||||
this.ScrollView.moveTween.MomentumAmount = 1
|
||||
this.ScrollView.moveTween.Strength = 1
|
||||
this.NoviceItemList={}--存储itemview 重复利用
|
||||
|
|
Loading…
Reference in New Issue