Text Lbl = gameObject.GetComponent<Text>();
RectTransform RT = gameObject.GetComponent<RectTransform>();
RT.sizeDelta = new Vector2(RT.sizeDelta.x,RT.sizeDelya.y + Lbl.preferredHeight);
Text Lbl = gameObject.GetComponent<Text>();
RectTransform RT = gameObject.GetComponent<RectTransform>();
RT.sizeDelta = new Vector2(RT.sizeDelta.x,RT.sizeDelya.y + Lbl.preferredHeight);