Stilianos Kesisoglou writes: > This is a multi-part message in MIME format. > > --Boundary_(ID_5PSlME54lreVsfVaVvAZTA) > Content-type: text/plain; charset=iso-8859-1 > Content-transfer-encoding: 7BIT > > 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. Even if too small in the TCanvas, usually the size is correct when exported to ps .... Michael > > Is there any method like TPaveText::Resize() that automatically resizes the box to fit the text? > > Thanks! > > Stelios. > > --Boundary_(ID_5PSlME54lreVsfVaVvAZTA) > Content-type: text/html; charset=iso-8859-1 > Content-transfer-encoding: 7BIT > > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> > <HTML><HEAD> > <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> > <META content="MSHTML 6.00.2800.1170" name=GENERATOR> > <STYLE></STYLE> > </HEAD> > <BODY bgColor=#ffffff> > <DIV><FONT size=4>Hi,</FONT></DIV> > <DIV><FONT size=4></FONT> </DIV> > <DIV><FONT size=4> Is there any easy way to change the > dimensions of the TPaveText that is automatically</FONT></DIV> > <DIV><FONT size=4>drawn when TH1F::SetTitle() is called?</FONT></DIV> > <DIV><FONT size=4></FONT> </DIV> > <DIV><FONT size=4> On many occasions the box is smaller than > the text and it seems complicated to resize</FONT></DIV> > <DIV><FONT size=4>the </FONT><FONT size=4>TPaveText object. </FONT></DIV> > <DIV><FONT size=4></FONT> </DIV> > <DIV><FONT size=4> Is there any method like > TPaveText::Resize() that automatically resizes the box to fit the > text?</FONT></DIV> > <DIV><FONT size=4></FONT> </DIV> > <DIV><FONT size=4> Thanks!</FONT></DIV> > <DIV><FONT size=4></FONT> </DIV> > <DIV><FONT size=4>Stelios.</FONT></DIV></BODY></HTML> > > --Boundary_(ID_5PSlME54lreVsfVaVvAZTA)--
This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:14 MET