public void PositionRight(TextItem textItem, float margin = 10) { position = new Vector2(textItem.position.X + textItem.TextSize.X + margin, textItem.position.Y); }
public void PositionBelow(TextItem textItem, float margin = 10.0f) { position = new Vector2(textItem.position.X, textItem.position.Y + textItem.TextSize.Y + margin); }