void CalculateSizeText(string mText)
{
const int minWidth = 300;
const int minHeight = 1;
string mProcessedText;
NGUIText.rectWidth = 700;
NGUIText.rectHeight = 1000000;
NGUIText.WrapText(mText, out mProcessedText, true);
int mPrintedSize = SeatOnTableBtn.GetComponentInChildren<UILabel>().fontSize;
NGUIText.fontSize = mPrintedSize;
Vector2 mCalculatedSize = Vector2.zero;
mCalculatedSize = NGUIText.CalculatePrintedSize(mProcessedText);
int Width = Mathf.Min(minWidth, Mathf.RoundToInt(mCalculatedSize.x));
int Height = Mathf.Max(minHeight, Mathf.RoundToInt(mCalculatedSize.y));
Debug.Log("Width=" + Width);
Debug.Log("Height=" + Height);
}