[ROOT] Histogram canvas clears on resize?

From: William Hanlon (whanlon@physics.rutgers.edu)
Date: Wed Jan 09 2002 - 17:19:43 MET


Hi all,

I have written a standalone application using the ROOT gui classes
(TG* classes). In one TGMainFrame I have two TRootEmbeddedCanvas that
I use to put a histogram on one and a figure using TArcs and TLines on
the other. If I resize the window or even just click the right mouse
button in the canvas with the histogram, it disappears. Note only the
histogram and the grid lines disappear, while the title and the stats
remain. I do not have this problem with the other canvas that has the
diagram in it though.

How can this be corrected? I would like to be able to resize the
window or have a user accidentally click the mouse button in the
window without the canvas getting cleared.

Thanks,
Bill


-- 
William Hanlon                       http://www.physics.rutgers.edu/~whanlon
Rutgers University                   pgp fingerprint:85 68 43 55 9A 83 44 00
Dept. of Physics and Astronomy                       CE 19 C0 B0 D9 DE D6 52



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