b=91321 r=peterl sr=attinasi. Moved margins in by .25 inches.

git-svn-id: svn://10.0.0.236/trunk@99800 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dcone%netscape.com
2001-07-24 13:53:52 +00:00
parent 6014d4a861
commit 8e4776ca35
2 changed files with 4 additions and 0 deletions

View File

@@ -311,6 +311,8 @@ nsPageFrame::DrawHeaderFooter(nsIRenderingContext& aRenderingContext,
// cacl the x and y positions of the text
nsRect rect(aRect);
nscoord quarterInch = NS_INCHES_TO_TWIPS(0.25);
rect.Deflate(quarterInch,0);
nscoord x = GetXPosition(aRenderingContext, rect, aJust, str);
nscoord y;
if (aHeaderFooter == eHeader) {

View File

@@ -311,6 +311,8 @@ nsPageFrame::DrawHeaderFooter(nsIRenderingContext& aRenderingContext,
// cacl the x and y positions of the text
nsRect rect(aRect);
nscoord quarterInch = NS_INCHES_TO_TWIPS(0.25);
rect.Deflate(quarterInch,0);
nscoord x = GetXPosition(aRenderingContext, rect, aJust, str);
nscoord y;
if (aHeaderFooter == eHeader) {