From 858ebdc455fae86496b82ea3f81e75ee7afd401b Mon Sep 17 00:00:00 2001 From: Rene Brun <Rene.Brun@cern.ch> Date: Mon, 12 Jan 2004 12:58:02 +0000 Subject: [PATCH] Minor change to Olivier improvement. Use factor 1.3 instead of 1.5 git-svn-id: http://root.cern.ch/svn/root/trunk@7885 27541ba8-7e3a-0410-8455-c3a389f83636 --- graf/src/TGaxis.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/graf/src/TGaxis.cxx b/graf/src/TGaxis.cxx index cd98314370e..e250f3c71fc 100644 --- a/graf/src/TGaxis.cxx +++ b/graf/src/TGaxis.cxx @@ -1,4 +1,4 @@ -// @(#)root/graf:$Name: $:$Id: TGaxis.cxx,v 1.63 2003/12/12 17:57:05 brun Exp $ +// @(#)root/graf:$Name: $:$Id: TGaxis.cxx,v 1.64 2004/01/12 12:44:42 brun Exp $ // Author: Rene Brun, Olivier Couet 12/12/94 /************************************************************************* @@ -1689,7 +1689,7 @@ L160: Double_t u = gPad->GetX1() + XX*(gPad->GetX2() - gPad->GetX1()); Double_t v = gPad->GetY1() + YY*(gPad->GetY2() - gPad->GetY1()); if (firstintlab) { - textaxis->GetBoundingBox(wi, hi); wi=(UInt_t)(wi*1.5); hi*=(UInt_t)(hi*1.5); + textaxis->GetBoundingBox(wi, hi); wi=(UInt_t)(wi*1.3); hi*=(UInt_t)(hi*1.3); xi1 = gPad->XtoAbsPixel(u); yi1 = gPad->YtoAbsPixel(v); firstintlab = kFALSE; @@ -1702,7 +1702,7 @@ L160: } else { xi1 = xi2; yi1 = yi2; - textaxis->GetBoundingBox(wi, hi); wi=(UInt_t)(wi*1.5); hi*=(UInt_t)(hi*1.5); + textaxis->GetBoundingBox(wi, hi); wi=(UInt_t)(wi*1.3); hi*=(UInt_t)(hi*1.3); textaxis->PaintLatex(u,v,0,textaxis->GetTextSize(),CHTEMP); } } -- GitLab