feat: 랭킹 화면의 콘텐츠 여백 추가
This commit is contained in:
@@ -86,7 +86,7 @@ namespace TON
|
|||||||
|
|
||||||
uiPrefabList.Add(rectTransform);
|
uiPrefabList.Add(rectTransform);
|
||||||
uiPrefabList[i].anchoredPosition = new Vector2(0f, -y);
|
uiPrefabList[i].anchoredPosition = new Vector2(0f, -y);
|
||||||
y += uiPrefabList[i].sizeDelta.y;
|
y += uiPrefabList[i].sizeDelta.y + 10f;
|
||||||
}
|
}
|
||||||
|
|
||||||
scrollRect.content.sizeDelta = new Vector2(scrollRect.content.sizeDelta.x, y);
|
scrollRect.content.sizeDelta = new Vector2(scrollRect.content.sizeDelta.x, y);
|
||||||
|
|||||||
Reference in New Issue
Block a user