Bug 10939: Make image input element transparent

This commit is contained in:
pollmann%netscape.com 1999-08-11 03:30:25 +00:00
parent 9b64052a08
commit 6c21361d9f
2 changed files with 2 additions and 0 deletions

View File

@ -211,6 +211,7 @@ nsImageControlFrame::Reflow(nsIPresContext& aPresContext,
// the view's size is not know yet, but its size will be kept in synch with our frame.
nsRect boundBox(0, 0, 500, 500);
result = view->Init(viewMan, boundBox, parView, nsnull);
view->SetContentTransparency(PR_TRUE);
viewMan->InsertChild(parView, view, 0);
SetView(view);

View File

@ -211,6 +211,7 @@ nsImageControlFrame::Reflow(nsIPresContext& aPresContext,
// the view's size is not know yet, but its size will be kept in synch with our frame.
nsRect boundBox(0, 0, 500, 500);
result = view->Init(viewMan, boundBox, parView, nsnull);
view->SetContentTransparency(PR_TRUE);
viewMan->InsertChild(parView, view, 0);
SetView(view);