修改日常界面滚动列表间距

dev_chengFeng
xiejun 2023-06-25 15:44:01 +08:00
parent 4ef694e42e
commit dab5db671f
1 changed files with 1 additions and 1 deletions

View File

@ -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 重复利用