【主界面】右上伸缩条调整

dev_chengFeng
ZhangBiao 2021-05-26 11:16:27 +08:00
parent bd1417f9aa
commit d7cda43ed0
2 changed files with 5 additions and 2 deletions

View File

@ -21943,7 +21943,7 @@ RectTransform:
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 48, y: 72}
m_SizeDelta: {x: 170, y: 709.92}
m_SizeDelta: {x: 170, y: 220}
m_Pivot: {x: 1, y: 1}
--- !u!222 &6392692323906310469
CanvasRenderer:

View File

@ -758,7 +758,9 @@ function this.CreatActivity()
end
end)
end
this.SetRightBarSize()
Timer.New(function ()
this.SetRightBarSize()
end,0.2):Start()
-- CheckRedPointStatus(RedPointType.RightUp2)
end
@ -777,6 +779,7 @@ function this.SetRightBarSize()
rectSize.sizeDelta = Vector3.New(160,220,0)
btnImg.rotation = Quaternion.Euler(Vector3.New(0,0,-90))
else
LogRed("gridSize.sizeDelta:"..tostring(gridSize.sizeDelta))
bgSize.sizeDelta = gridSize.sizeDelta + Vector3.New(0,100,0)
rectSize.sizeDelta = gridSize.sizeDelta
btnImg.rotation = Quaternion.Euler(Vector3.New(0,0,90))