idef'ed out the adding of border padding to maxelement size, this was casuing some warnings.

r=kmcclusk a=jar b=28593
This commit is contained in:
rods%netscape.com 2000-03-03 00:58:00 +00:00
parent 52a1708dcd
commit 4325e0f2df
2 changed files with 2 additions and 2 deletions

View File

@ -667,7 +667,7 @@ nsHTMLButtonControlFrame::Reflow(nsIPresContext* aPresContext,
//aDesiredSize.width += aReflowState.mComputedBorderPadding.left + aReflowState.mComputedBorderPadding.right;
//aDesiredSize.height += aReflowState.mComputedBorderPadding.top + aReflowState.mComputedBorderPadding.bottom;
#if 1
#if 0
//adjust our max element size, if necessary
if (aDesiredSize.maxElementSize) {
aDesiredSize.AddBorderPaddingToMaxElementSize(aReflowState.mComputedBorderPadding);

View File

@ -667,7 +667,7 @@ nsHTMLButtonControlFrame::Reflow(nsIPresContext* aPresContext,
//aDesiredSize.width += aReflowState.mComputedBorderPadding.left + aReflowState.mComputedBorderPadding.right;
//aDesiredSize.height += aReflowState.mComputedBorderPadding.top + aReflowState.mComputedBorderPadding.bottom;
#if 1
#if 0
//adjust our max element size, if necessary
if (aDesiredSize.maxElementSize) {
aDesiredSize.AddBorderPaddingToMaxElementSize(aReflowState.mComputedBorderPadding);