public void SetCustomMinimumSize() { text.SetCustomMinimumSize(new Vector2(0, text.GetVScroll().GetMax())); //workaround as rich text label doesn't scale to content -.- text.SetSize(new Vector2(213, text.GetVScroll().GetMax())); SetSize(new Vector2(250, GetSize().y)); }