Re: [ROOT] how to change the "title" of a pad

From: Jacek M. Holeczek (holeczek@us.edu.pl)
Date: Sun Feb 24 2002 - 13:04:38 MET


Hi,
> (...)
> I've noticed something similar when trying to edit the title with the
> mouse (eg, DeleteText and then InsertText from the gui menu).  The old
> text disappears when I do DeleteText, and reappears when I do InsertText.
> (...)
As I have already written, use the sequence :
	1. Clear
	2. InsertLine
	3. InsertText -> input here the new "title"
All these methods are ALSO available from the gui menu when you edit the
"title". This seems to work.
On this occasion I would like to report something. In my opinion the
length of the string is calculated incorrectly in case there are some
LaTeX characters inside. The PaveText is always created too wide (I guess
the routine that calculates the length counts all characters as ASCII; it
does not recognize "special" sequences of characters as "one character",
for example "#alpha", or "no character", as for example "_{}").
The second (unrelated) problem is : if I have a TGraph which has not yet
been drawn, then MyGraph->Get[XY]axis() ends with a Segmentation Fault.
The root is 3.02/07 on a RH6.2/i386 with egcs-1.1.2.
Best regards,
Jacek.



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:42 MET