Support (mostly) border+padding around input form elements

This commit is contained in:
kipp
1998-05-07 16:13:59 +00:00
parent 420b772411
commit c78d06067d
4 changed files with 136 additions and 225 deletions

View File

@@ -386,8 +386,10 @@ nsInputButtonFrame::ResizeReflow(nsIPresContext* aPresContext,
aMaxElementSize->width = aDesiredSize.width;
aMaxElementSize->height = aDesiredSize.height;
}
mCacheBounds.width = aDesiredSize.width;
mCacheBounds.height = aDesiredSize.height;
mViewBounds.x = 0;
mViewBounds.y = 0;
mViewBounds.width = aDesiredSize.width;
mViewBounds.height = aDesiredSize.height;
aStatus = frComplete;
return NS_OK;
}