法灵列表界面修改

onepiece_demo_arena
wangzhenxing 2024-01-20 23:41:34 +08:00
parent f79bc3977b
commit b5e87eed40
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ function FaLingListPanel:InitComponent()
--LogGreen("v.width:".. v.width.." v.height:"..v.height)
this.Scrollbar= Util.GetGameObject(self.gameObject, "Scrollbar"):GetComponent("Scrollbar")
this.ScrollView = SubUIManager.Open(SubUIConfig.ScrollCycleView,Util.GetGameObject(self.gameObject, "scroll").transform,
this.cardPre, this.Scrollbar, Vector2.New(v.width, v.height), 1, 5, Vector2.New(19.32,40))
this.cardPre, this.Scrollbar, Vector2.New(v.width, v.height), 1, 5, Vector2.New(50,50))
this.ScrollView.gameObject:GetComponent("RectTransform").anchoredPosition = Vector2.New(6.78, 27)
this.ScrollView.gameObject:GetComponent("RectTransform").anchorMin = Vector2.New(0.5, 0.5)
this.ScrollView.gameObject:GetComponent("RectTransform").anchorMax = Vector2.New(0.5, 0.5)