ENH: getting exact text width in gui.Dlg.AddText()