override public void ResetWidth() { tweetBlob.Width = (int)Width; tweetBlob.FlowText(); // Update the segments for all hyperlinks. foreach (Hyperlink link in HyperlinkList) { List <TextSegment> segmentList = new List <TextSegment>(); tweetBlob.CreateSubstringSegments(link.startIndex, link.endIndex, ref segmentList); if (segmentList.Count > 0) { link.segmentList = segmentList; } } float h = (tweetBlob.NumLines - 1) * tweetBlob.TotalSpacing; h += UI2D.Shared.GetGameFont13_5().LineSpacing; Height = h; }