public override void RunLayoutVertical(int frameId) { textAlreadyDirty = false; textInfo.ForceLayout(); // might not need this float topOffset = paddingBorderVerticalStart; float leftOffset = paddingBorderHorizontalStart; textInfo.Layout(new Vector2(leftOffset, topOffset), finalWidth - paddingBorderHorizontalStart - paddingBorderHorizontalEnd); }