This forum provides RSS feed. To query recent posts use this url. More...
var win = Game.LoadWindow("interface\system\caption.window"); // Stores the window in the win variable.global WinCaption = win.GetWidget("caption");// stores the win entity/widget "caption" in the global varible.WinCaption.SizeToFit();// The important part. This resizes the control to fit the text size.