Label Size

From: ROHLFS Reiner (Reiner.Rohlfs@obs.unige.ch)
Date: Thu Nov 20 1997 - 17:22:07 MET


Hi ROOTers,

I want to draw the labels of the axis always in the same size in pixels units
independent of the size of the pad.

My idea to do this is to get notified from ROOT every time the pad is resized.
Now I could recalculate the size of the labels if the function TPad::YtoPixel()
already calculates with the new size of the pad.

Is there a virtual function of TPad that I can use to recalculate the size of
the labels? 
And is the new size of the pad already set while this function is called from
ROOT?

I assume ExecuteEvent is only called at a mouse event but not at a resize
event?

Cheers Reiner.



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:26:22 MET