Re: [ROOT] TPaveText dimensions

From: Rene Brun (Rene.Brun@cern.ch)
Date: Wed Jul 30 2003 - 06:54:42 MEST


By default, the title box is resized automatically to fit the text.
You can set yourself the length of the box to a predefined value
via TStyle::SetTitleW, eg
  gStyle->SetTitleW(0.7);

Rene Brun

On Tue, 
29 Jul 2003, Stilianos Kesisoglou wrote:

> Hi,
> 
>     Is there any easy way to change the dimensions of the TPaveText that is automatically
> drawn when TH1F::SetTitle() is called?
> 
>     On many occasions the box is smaller than the text and it seems complicated to resize
> the TPaveText object. 
> 
>     Is there any method like TPaveText::Resize() that automatically resizes the box to fit the text?
> 
>     Thanks!
> 
> Stelios.
> 



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET